execute(" alter table qimall_addons_reservation_service_order add secondary_card_id int(11) not null default 0 comment '次卡id';"); $this->execute(" alter table qimall_addons_reservation_service_order add secondary_card_no varchar(255) not null default '' comment '次卡号';"); $this->execute(" alter table qimall_addons_reservation_service_order add reservation_model tinyint(1) NOT NULL DEFAULT '0' COMMENT '预约模式:1:预约门店;2:预约服务人';"); } /** * {@inheritdoc} */ public function safeDown() { echo "M240304071046QimallAddonsReservationServiceOrder cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M240304071046QimallAddonsReservationServiceOrder cannot be reverted.\n"; return false; } */ }