Room model里去掉app类型校验字段
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -40,7 +40,7 @@ class Room extends \yii\db\ActiveRecord | @@ -40,7 +40,7 @@ class Room extends \yii\db\ActiveRecord | ||
40 | return [ | 40 | return [ |
41 | [['room_id', 'master_id', 'starting_time', 'best', 'vest', 'living', 'status', 'create_time', 'update_time'], 'integer'], | 41 | [['room_id', 'master_id', 'starting_time', 'best', 'vest', 'living', 'status', 'create_time', 'update_time'], 'integer'], |
42 | [['title', 'watermark'], 'string', 'max' => 100], | 42 | [['title', 'watermark'], 'string', 'max' => 100], |
43 | - [['app', 'secret'], 'string', 'max' => 50], | 43 | + [['secret'], 'string', 'max' => 50], |
44 | [['pic'], 'string', 'max' => 255], | 44 | [['pic'], 'string', 'max' => 255], |
45 | [['room_id'], 'unique'], | 45 | [['room_id'], 'unique'], |
46 | [['secret'], 'unique'], | 46 | [['secret'], 'unique'], |
-
Please register or login to post a comment