execute($sql); $sql = "ALTER TABLE `qimall_addons_double_copy_pool_source` ADD COLUMN `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '备注';"; $this->execute($sql); $sql = "INSERT INTO `qimall_crontab_task` ( `name`, `command`, `type`, `rule`, `is_warning`, `status`, `created_at`, `updated_at` ) VALUES ( '二二复制冻结基金每月清零', 'double-copy/frozen-fund/clear', '2', '0 1 0 * * *', '0', '1', '1708418352', '1708418352' );"; $this->execute($sql); } /** * {@inheritdoc} */ public function safeDown() { echo "M240204093537FrozenFundClearLog cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M240204093537FrozenFundClearLog cannot be reverted.\n"; return false; } */ }