]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
ERP-85 Реализовать обмен данных с 1С Бухгалтерия
authormarina <m.zozirova@gmail.com>
Tue, 27 Aug 2024 10:43:10 +0000 (13:43 +0300)
committermarina <m.zozirova@gmail.com>
Tue, 27 Aug 2024 10:43:10 +0000 (13:43 +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
sql [new file with mode: 0644]

index 67e23283a861ad2be772a31cc56fa5c47e041608..fa7c467e09f41b8d4f36db740f821894448005c8 100755 (executable)
@@ -16,6 +16,7 @@ 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 9b1244bd24fd8fd282007f120ce92ef6a45e30ae..8ce1ff1747ad4cfd8d51daae126ec0810e4ce1f4 100644 (file)
@@ -12,6 +12,7 @@ class m240722_054604_create_motivation_costs_items_table extends Migration
      */
     public function safeUp()
     {
+        return;
         $this->execute('SET search_path TO erp24');
         
         // Создаем тип ENUM
index 8f18ace4836fd3ef782448d47c69e009296e7a2e..f5a097e5a581df95f852125892716c270ced6763 100755 (executable)
@@ -14,6 +14,7 @@ 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 0bb353bdcd422bc1977e075c7bcc8591c371dba8..551d6eac5b2903e9d05bdfc146fb123fe5c83be8 100644 (file)
@@ -12,6 +12,7 @@ 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 9498eb1be3ac4febd1cb5eeab9c632d3564c18df..6127410ad3860e380fb8115f50b5a6a2152eb582 100755 (executable)
@@ -13,6 +13,7 @@ class m240809_115844_insert_forecast_into_motivation_value_group extends Migrati
      */
     public function safeUp()
     {
+        return;
         $this->insert(self::TABLE_NAME, [
             'id' => 9,
             'name' => 'Прогноз',
index 2ab6760458ba91f16dbff27317d5b2511751e695..c0a716357abb1e127221d1092fab6d8ef31daebb 100644 (file)
@@ -12,6 +12,7 @@ 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 acde2699069297293d804c7b9bd341bf1fe58f94..42436e9117e5229fe35dc57bb08fb34ddc64326c 100755 (executable)
@@ -15,6 +15,7 @@ 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 96b06bf78a941bba1fec8a4246a886e02daa1027..ea518842ec508cce4974abcd07b1554754d51bb7 100755 (executable)
@@ -14,6 +14,7 @@ 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'),
diff --git a/sql b/sql
new file mode 100644 (file)
index 0000000..e69de29