db->schema->getTableSchema('qimall_order_reserve', true)->getColumn('reservation_service_order_id')) { $this->execute("ALTER TABLE qimall_order_reserve add reservation_service_order_id int(11) not null default 0 COMMENT '预约服务订单id'"); } } /** * {@inheritdoc} */ public function safeDown() { echo "M241228090338AlterQimallOrderReserve cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M241228090338AlterQimallOrderReserve cannot be reverted.\n"; return false; } */ }