| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- /*
- * @Author: zengfanhua
- * @Date: 2024-06-11 18:54:01
- * @Description:
- */
- namespace addons\Store\console\migrations;
- use yii\db\Migration;
- /**
- * Class M240611185716AlterTableStoreClerkIncomeData
- */
- class M240611185716AlterTableStoreClerkIncomeData extends Migration
- {
- /**
- * {@inheritdoc}
- */
- public function safeUp()
- {
- $sql = "ALTER TABLE qimall_addons_store_clerk_income_data ENGINE = INNODB";
- $this->execute($sql);
- }
- /**
- * {@inheritdoc}
- */
- public function safeDown()
- {
- echo "M240611185716AlterTableStoreClerkIncomeData cannot be reverted.\n";
- return false;
- }
- /*
- // Use up()/down() to run migration code without a transaction.
- public function up()
- {
- }
- public function down()
- {
- echo "M240611185716AlterTableStoreClerkIncomeData cannot be reverted.\n";
- return false;
- }
- */
- }
|