From: Alexander Smirnov Date: Wed, 9 Oct 2024 12:14:35 +0000 (+0300) Subject: обход миграции X-Git-Tag: 1.6~41^2~2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=7e4640d82dda08c3a627810ff8203ee2525fdff2;p=erp24_rep%2Fyii-erp24%2F.git обход миграции --- diff --git a/erp24/migrations/m240930_100018_create_table_marketplace_priority.php b/erp24/migrations/m240930_100018_create_table_marketplace_priority.php index d899480d..fa951849 100755 --- a/erp24/migrations/m240930_100018_create_table_marketplace_priority.php +++ b/erp24/migrations/m240930_100018_create_table_marketplace_priority.php @@ -12,7 +12,7 @@ class m240930_100018_create_table_marketplace_priority extends Migration * {@inheritdoc} */ public function safeUp() - { + {return true; $this->createTable(self::TABLE_NAME, [ 'id' => $this->primaryKey(), 'guid' => $this->string(36)->notNull()->comment('GUID матричного букета'), diff --git a/erp24/migrations/m241004_112411_add_column_phone_to_table_create_checks.php b/erp24/migrations/m241004_112411_add_column_phone_to_table_create_checks.php index ddef693f..cfd4a0dd 100755 --- a/erp24/migrations/m241004_112411_add_column_phone_to_table_create_checks.php +++ b/erp24/migrations/m241004_112411_add_column_phone_to_table_create_checks.php @@ -13,6 +13,7 @@ class m241004_112411_add_column_phone_to_table_create_checks extends Migration */ public function safeUp() { + return true; $this->addColumn(self::TABLE_NAME, 'phone', $this->string(20)->null()->after('comments')->comment('Телефон клиента')); }