From: Alexander Smirnov Date: Fri, 9 Aug 2024 12:12:51 +0000 (+0300) Subject: [ERP-137] Временная заглушка для миграций X-Git-Tag: 1.4~36^2~14 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=4d6b6bd6b99f0a735d957d3714e52c93a9bef829;p=erp24_rep%2Fyii-erp24%2F.git [ERP-137] Временная заглушка для миграций --- diff --git a/erp24/migrations/m240719_063451_create_table_motivation.php b/erp24/migrations/m240719_063451_create_table_motivation.php index 67e23283..fd819536 100755 --- a/erp24/migrations/m240719_063451_create_table_motivation.php +++ b/erp24/migrations/m240719_063451_create_table_motivation.php @@ -16,6 +16,7 @@ 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 магазина'), diff --git a/erp24/migrations/m240722_054604_create_motivation_costs_items_table.php b/erp24/migrations/m240722_054604_create_motivation_costs_items_table.php index 9b1244bd..88edff68 100644 --- a/erp24/migrations/m240722_054604_create_motivation_costs_items_table.php +++ b/erp24/migrations/m240722_054604_create_motivation_costs_items_table.php @@ -12,6 +12,7 @@ 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 diff --git a/erp24/migrations/m240729_081512_create_table_incoming_item.php b/erp24/migrations/m240729_081512_create_table_incoming_item.php index 8f18ace4..6286eaac 100755 --- a/erp24/migrations/m240729_081512_create_table_incoming_item.php +++ b/erp24/migrations/m240729_081512_create_table_incoming_item.php @@ -14,6 +14,7 @@ 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'),