|
@@ -25,7 +25,7 @@ class m180109_222941_user_log extends Migration
|
|
'type'=>Schema::TYPE_STRING.'(200) NOT NULL COMMENT "操作类型(例:添加)"',
|
|
'type'=>Schema::TYPE_STRING.'(200) NOT NULL COMMENT "操作类型(例:添加)"',
|
|
'handle_id'=>Schema::TYPE_INTEGER.'(10) NOT NULL COMMENT "操作对象ID"',
|
|
'handle_id'=>Schema::TYPE_INTEGER.'(10) NOT NULL COMMENT "操作对象ID"',
|
|
'result'=>Schema::TYPE_TEXT.' NOT NULL COMMENT "操作结果"',
|
|
'result'=>Schema::TYPE_TEXT.' NOT NULL COMMENT "操作结果"',
|
|
- 'addtime'=>Schema::datetime.' NOT NULL COMMENT "操作时间"',
|
|
|
|
|
|
+ 'addtime'=>Schema::TYPE_DATETIME.' NOT NULL COMMENT "操作时间"',
|
|
'describe'=>Schema::TYPE_TEXT.' NOT NULL COMMENT "备注"',
|
|
'describe'=>Schema::TYPE_TEXT.' NOT NULL COMMENT "备注"',
|
|
|
|
|
|
], $tableOptions);
|
|
], $tableOptions);
|