...
|
...
|
@@ -43,7 +43,8 @@ class Room extends \yii\db\ActiveRecord |
|
|
[['title', 'watermark'], 'string', 'max' => 100],
|
|
|
[['app', 'secret'], 'string', 'max' => 50],
|
|
|
[['pic', 'background_pic'], 'string', 'max' => 255],
|
|
|
[['room_id'], 'integer', 'unique'],
|
|
|
[['room_id'], 'unique'],
|
|
|
[['room_id'], 'number'],
|
|
|
[['secret'], 'unique'],
|
|
|
[['pic', 'background_pic'], 'required'],
|
|
|
];
|
...
|
...
|
|