]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
уход от обхода миграции
authorAlexander Smirnov <fredeom@mail.ru>
Wed, 9 Oct 2024 12:16:01 +0000 (15:16 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Wed, 9 Oct 2024 12:16:01 +0000 (15:16 +0300)
erp24/migrations/m240930_100018_create_table_marketplace_priority.php
erp24/migrations/m241004_112411_add_column_phone_to_table_create_checks.php

index fa95184921e7e3145b8094f44a33cd3b20e9dde1..d899480d60d531ff34de58f54dac017530d78165 100755 (executable)
@@ -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 матричного букета'),
index cfd4a0ddc3a4f1ea822737f75e4b21eb6a8cebc5..ddef693fae4e6849576b386977b0c1ed8734ac5a 100755 (executable)
@@ -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('Телефон клиента'));
     }