...
|
...
|
@@ -40,7 +40,7 @@ class Room extends \yii\db\ActiveRecord |
|
|
return [
|
|
|
[['room_id', 'master_id', 'starting_time', 'best', 'vest', 'living', 'status', 'create_time', 'update_time'], 'integer'],
|
|
|
[['title', 'watermark'], 'string', 'max' => 100],
|
|
|
[['app', 'secret'], 'string', 'max' => 50],
|
|
|
[['secret'], 'string', 'max' => 50],
|
|
|
[['pic'], 'string', 'max' => 255],
|
|
|
[['room_id'], 'unique'],
|
|
|
[['secret'], 'unique'],
|
...
|
...
|
|