diff --git a/src/models/ActionStore.php b/src/models/ActionStore.php index b7deee0..12ef9c5 100644 --- a/src/models/ActionStore.php +++ b/src/models/ActionStore.php @@ -68,7 +68,7 @@ public function rules() [['type', 'model', 'model_id'], 'required'], [['user_id', 'model_id', 'value', 'created_at', 'updated_at'], 'integer'], ['user_type', 'default', 'value' => 'user'], - [['type', 'user_type', 'model'], 'string', 'max' => 255], + [['type', 'user_type', 'model'], 'string', 'max' => 20], ]; }