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