]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
ERP-85 Реализовать обмен данных с 1С Бухгалтерия
authormarina <m.zozirova@gmail.com>
Tue, 27 Aug 2024 10:44:18 +0000 (13:44 +0300)
committermarina <m.zozirova@gmail.com>
Tue, 27 Aug 2024 10:44:18 +0000 (13:44 +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
erp24/migrations/m240805_071431_create_api_cron_buh_table.php
erp24/migrations/m240809_115844_insert_forecast_into_motivation_value_group.php
erp24/migrations/m240815_081804_add_new_column_to_api_cron_buh.php
erp24/migrations/m240820_150742_create_table_motivation_buh.php
erp24/migrations/m240821_114356_create_table_store_guid_buh.php

index fa7c467e09f41b8d4f36db740f821894448005c8..67e23283a861ad2be772a31cc56fa5c47e041608 100755 (executable)
@@ -16,7 +16,6 @@ class m240719_063451_create_table_motivation extends Migration
      */
     public function safeUp()
     {
-        return;
         $this->createTable(self::TABLE_NAME, [
             'id' => $this->primaryKey(),
             'store_id' => $this->integer()->notNull()->comment('ID магазина'),
index 8ce1ff1747ad4cfd8d51daae126ec0810e4ce1f4..9b1244bd24fd8fd282007f120ce92ef6a45e30ae 100644 (file)
@@ -12,7 +12,6 @@ class m240722_054604_create_motivation_costs_items_table extends Migration
      */
     public function safeUp()
     {
-        return;
         $this->execute('SET search_path TO erp24');
         
         // Создаем тип ENUM
index f5a097e5a581df95f852125892716c270ced6763..8f18ace4836fd3ef782448d47c69e009296e7a2e 100755 (executable)
@@ -14,7 +14,6 @@ class m240729_081512_create_table_incoming_item extends Migration
      */
     public function safeUp()
     {
-        return;
         $this->createTable(self::TABLE_NAME, [
             'id' => $this->primaryKey(),
             'incoming_id' => $this->string(36)->notNull()->comment('ID из таблицы incoming'),
index 551d6eac5b2903e9d05bdfc146fb123fe5c83be8..0bb353bdcd422bc1977e075c7bcc8591c371dba8 100644 (file)
@@ -12,7 +12,6 @@ class m240805_071431_create_api_cron_buh_table extends Migration
      */
     public function safeUp()
     {
-        return;
         $this->createTable('{{%erp24.api_cron_buh}}', [
             'id' => $this->primaryKey(),
             'date' => $this->dateTime()->notNull(),
index 6127410ad3860e380fb8115f50b5a6a2152eb582..9498eb1be3ac4febd1cb5eeab9c632d3564c18df 100755 (executable)
@@ -13,7 +13,6 @@ class m240809_115844_insert_forecast_into_motivation_value_group extends Migrati
      */
     public function safeUp()
     {
-        return;
         $this->insert(self::TABLE_NAME, [
             'id' => 9,
             'name' => 'Прогноз',
index c0a716357abb1e127221d1092fab6d8ef31daebb..2ab6760458ba91f16dbff27317d5b2511751e695 100644 (file)
@@ -12,7 +12,6 @@ class m240815_081804_add_new_column_to_api_cron_buh extends Migration
      */
     public function safeUp()
     {
-        return;
         $this->dropColumn('api_cron_buh', 'request_id');
         $this->addColumn('api_cron_buh', 'request_id', $this->string(36)->unique()->comment('ID запроса'));
         $this->addColumn('api_cron_buh', 'inn', $this->bigInteger()->comment('ИНН'));
index 42436e9117e5229fe35dc57bb08fb34ddc64326c..acde2699069297293d804c7b9bd341bf1fe58f94 100755 (executable)
@@ -15,7 +15,6 @@ class m240820_150742_create_table_motivation_buh extends Migration
      */
     public function safeUp()
     {
-        return;
         $this->createTable(self::TABLE_NAME, [
             'id' => $this->primaryKey(),
             'inn' => $this->integer()->notNull()->comment('ИНН фирмы источника данных'),
index ea518842ec508cce4974abcd07b1554754d51bb7..96b06bf78a941bba1fec8a4246a886e02daa1027 100755 (executable)
@@ -14,7 +14,6 @@ class m240821_114356_create_table_store_guid_buh extends Migration
      */
     public function safeUp()
     {
-        return true;
         $this->createTable(self::TABLE_NAME, [
             'id' => $this->primaryKey(),
             'store_id' => $this->integer()->notNull()->comment('store id'),