execute($sql); $sql = "INSERT INTO `qimall_crontab_task` ( `name`, `command`, `type`, `rule`, `is_warning`, `status`, `created_at`, `updated_at` ) VALUES ( '分销循环-检测复购开关', 'circle-distribution/repurchase/check', '2', '*/50 * * * * *', '0', '1', '1695378746', '1695378746' );"; $this->execute($sql); } /** * {@inheritdoc} */ public function safeDown() { echo "M230922102755AddColumnToCommissionBasisLog cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M230922102755AddColumnToCommissionBasisLog cannot be reverted.\n"; return false; } */ }