diff --git a/src/migrations/m171214_101829_create_action_store_table.php b/src/migrations/m171214_101829_create_action_store_table.php index 6c8b53d..9ba02b7 100644 --- a/src/migrations/m171214_101829_create_action_store_table.php +++ b/src/migrations/m171214_101829_create_action_store_table.php @@ -19,11 +19,11 @@ public function up() { $this->createTable($this->tableName, [ 'id' => $this->primaryKey(), - 'type' => $this->string()->notNull(), + 'type' => $this->string(20)->notNull(), 'value' => $this->integer()->defaultValue(1), - 'user_type' => $this->string()->defaultValue('user'), + 'user_type' => $this->string(20)->defaultValue('user'), 'user_id' => $this->integer()->notNull(), - 'model' => $this->string()->notNull(), + 'model' => $this->string(20)->notNull(), 'model_id' => $this->integer()->notNull(), 'created_at' => $this->integer()->defaultValue(null), 'updated_at' => $this->integer()->defaultValue(null),