execute($sql); $sql = "INSERT INTO `qimall_crontab_task` ( `name`, `command`, `type`, `rule`, `is_warning`, `status`, `created_at`, `updated_at`) VALUES ( '薪资平台-每年统计', 'commission-years-billing/init', 2, '0 0 0 1 1 0', 0, 1, 1677828364, 1677828467)"; $this->execute($sql); } catch (\Exception $e) { } } /** * {@inheritdoc} */ public function safeDown() { echo "M230218073427CreateQimallBalanceLogRelation cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M230218073427CreateQimallBalanceLogRelation cannot be reverted.\n"; return false; } */ }