execute($sql); $sql = "INSERT INTO `qimall_link_category`(`id`, `name`, `title`, `pid`, `is_list`, `remark`, `status`, `created_at`, `updated_at`) VALUES (34, 'mch_cate', '多商户分类', 19, 1, '', 1, 1654741255, 1663729702)"; $this->execute($sql); }catch (\Exception $e){ } } /** * {@inheritdoc} */ public function safeDown() { echo "M220812091001InsertQimallLinkCategory cannot be reverted.\n"; return false; } // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M220812091001InsertQimallLinkCategory cannot be reverted.\n"; return false; } }