- Коррекция миграции

parent c4d9fc54
...@@ -14,7 +14,7 @@ class m160315_022841_add_logs_table extends Migration ...@@ -14,7 +14,7 @@ class m160315_022841_add_logs_table extends Migration
'user_id' => $this->integer()->notNull(), 'user_id' => $this->integer()->notNull(),
'action' => $this->string(255)->notNull(), 'action' => $this->string(255)->notNull(),
'datetime' => $this->dateTime()->notNull(), 'datetime' => $this->dateTime()->notNull(),
'presence_time' => $this->integer(11) 'presence_time' => $this->integer(11)->defaultValue(1)
] ]
); );
$this->addForeignKey( $this->addForeignKey(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment