From: Aleksey Filippov Date: Wed, 21 Aug 2024 09:49:48 +0000 (+0300) Subject: Таблица store_guid_buh X-Git-Tag: 1.4~31^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=042dd3d7729c975664271cdc6f3e8e69ecb5a12f;p=erp24_rep%2Fyii-erp24%2F.git Таблица store_guid_buh --- diff --git a/erp24/migrations/m240821_114356_create_table_motivation_buh.php b/erp24/migrations/m240821_114356_create_table_motivation_buh.php deleted file mode 100755 index 9603b998..00000000 --- a/erp24/migrations/m240821_114356_create_table_motivation_buh.php +++ /dev/null @@ -1,35 +0,0 @@ -createTable(self::TABLE_NAME, [ - 'id' => $this->primaryKey(), - 'store_id' => $this->integer()->notNull()->comment('store id'), - 'store_guid' => $this->string()->notNull()->comment('store guid'), - 'updated_admin_id' => $this->integer()->null()->comment('updated admin id'), - 'created_admin_id' => $this->integer()->notNull()->comment('created admin id'), - 'updated_at' => $this->datetime()->null()->comment('Дата изменения записи'), - 'created_at' => $this->datetime()->notNull()->comment('Дата создания записи'), - ]); - } - - /** - * {@inheritdoc} - */ - public function safeDown() - { - $this->dropTable(self::TABLE_NAME); - } -} diff --git a/erp24/migrations/m240821_114356_create_table_store_guid_buh.php b/erp24/migrations/m240821_114356_create_table_store_guid_buh.php new file mode 100755 index 00000000..96b06bf7 --- /dev/null +++ b/erp24/migrations/m240821_114356_create_table_store_guid_buh.php @@ -0,0 +1,35 @@ +createTable(self::TABLE_NAME, [ + 'id' => $this->primaryKey(), + 'store_id' => $this->integer()->notNull()->comment('store id'), + 'store_guid' => $this->string()->notNull()->comment('store guid'), + 'updated_admin_id' => $this->integer()->null()->comment('updated admin id'), + 'created_admin_id' => $this->integer()->notNull()->comment('created admin id'), + 'updated_at' => $this->datetime()->null()->comment('Дата изменения записи'), + 'created_at' => $this->datetime()->notNull()->comment('Дата создания записи'), + ]); + } + + /** + * {@inheritdoc} + */ + public function safeDown() + { + $this->dropTable(self::TABLE_NAME); + } +}