- Migration redo

parent 73a55bee
......@@ -10,12 +10,12 @@ class m160226_101540_update_schedule_tinyint_columns extends Migration
$this->alterColumn(
'trigger_schedule',
'sended',
$this->integer(1)->defaultValue(0)
$this->integer(1)->defaultValue(0)->notNull()
);
$this->alterColumn(
'trigger_schedule',
'checked',
$this->integer(1)->defaultValue(0)
$this->integer(1)->defaultValue(0)->notNull()
);
}
......@@ -24,12 +24,12 @@ class m160226_101540_update_schedule_tinyint_columns extends Migration
$this->alterColumn(
'trigger_schedule',
'sended',
$this->smallInteger(1)->defaultValue(0)
$this->smallInteger(1)->defaultValue(0)->notNull()
);
$this->alterColumn(
'trigger_schedule',
'checked',
$this->smallInteger(1)->defaultValue(0)
$this->smallInteger(1)->defaultValue(0)->notNull()
);
}
}
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