From: Alexander Smirnov Date: Wed, 9 Oct 2024 12:16:01 +0000 (+0300) Subject: уход от обхода миграции X-Git-Tag: 1.6~41^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=a4481a73e312a4c2da49f9c2c3f94f9e4fa2f0e1;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 fa951849..d899480d 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 cfd4a0dd..ddef693f 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,7 +13,6 @@ 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('Телефон клиента')); }