createTable('holiday',[ 'id' => $this->primaryKey(), 'card_id' => $this->integer(11)->notNull(), 'dt_start' => $this->integer(15)->notNull(), 'dt_end' => $this->integer(15)->notNull(), ]); } /** * {@inheritdoc} */ public function safeDown() { $this->dropTable('holiday'); } }