| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- namespace app\migrations;
- use yii\db\Migration;
- /**
- * Class M240829021836InsertQimallLink
- */
- class M240829021836InsertQimallLink extends Migration
- {
- /**
- * {@inheritdoc}
- */
- public function safeUp()
- {
- $this->execute("INSERT INTO `qimall_link` ( `name`, `title`, `cat_id`, `open_type`, `route`, `icon`, `remark`, `status`, `created_at`, `updated_at`) VALUES ('', '支付成功', 5, 'page', '/plugins2/Store/pay/paysuccess', '/diy/icon-set/order-5.png', '', 1, 1634096281, 1636360454);");
- }
- /**
- * {@inheritdoc}
- */
- public function safeDown()
- {
- echo "M240829021836InsertQimallLink cannot be reverted.\n";
- return false;
- }
- /*
- // Use up()/down() to run migration code without a transaction.
- public function up()
- {
- }
- public function down()
- {
- echo "M240829021836InsertQimallLink cannot be reverted.\n";
- return false;
- }
- */
- }
|