From 65ed0828a37819fce376cf957c04481c4c140641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E6=AD=A3=E6=B5=B7?= Date: Wed, 18 Jul 2018 14:13:05 +0800 Subject: [PATCH] Update ActionStore.php --- src/models/ActionStore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], ]; }