]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-137] Убераю временную заглушку для миграций
authorAlexander Smirnov <fredeom@mail.ru>
Fri, 9 Aug 2024 12:14:00 +0000 (15:14 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Fri, 9 Aug 2024 12:14:00 +0000 (15:14 +0300)
erp24/migrations/m240719_063451_create_table_motivation.php
erp24/migrations/m240722_054604_create_motivation_costs_items_table.php
erp24/migrations/m240729_081512_create_table_incoming_item.php

index fd819536137be278468461232a424faa2c052aa4..67e23283a861ad2be772a31cc56fa5c47e041608 100755 (executable)
@@ -16,7 +16,6 @@ class m240719_063451_create_table_motivation extends Migration
      */
     public function safeUp()
     {
-        return true; // TODO:: remove it
         $this->createTable(self::TABLE_NAME, [
             'id' => $this->primaryKey(),
             'store_id' => $this->integer()->notNull()->comment('ID магазина'),
index 88edff6897cde2ddf260eea90f44de6f7552691d..9b1244bd24fd8fd282007f120ce92ef6a45e30ae 100644 (file)
@@ -12,7 +12,6 @@ class m240722_054604_create_motivation_costs_items_table extends Migration
      */
     public function safeUp()
     {
-        return true; // TODO:: remove it
         $this->execute('SET search_path TO erp24');
         
         // Создаем тип ENUM
index 6286eaac24026475620cacff9190aa6c0c59be56..8f18ace4836fd3ef782448d47c69e009296e7a2e 100755 (executable)
@@ -14,7 +14,6 @@ class m240729_081512_create_table_incoming_item extends Migration
      */
     public function safeUp()
     {
-        return true; // TODO:: remove it
         $this->createTable(self::TABLE_NAME, [
             'id' => $this->primaryKey(),
             'incoming_id' => $this->string(36)->notNull()->comment('ID из таблицы incoming'),