From f828af1882e7539d04218aecd0d950e392c9d547 Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Wed, 21 Aug 2024 12:46:42 +0300 Subject: [PATCH] =?utf8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?utf8?q?=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D1=83=20=D1=81=D0=BF=D1=80?= =?utf8?q?=D0=B0=D0=B2=D0=BE=D1=87=D0=BD=D0=B8=D0=BA=20=D0=B4=D0=BB=D1=8F?= =?utf8?q?=20store=5Fid=20=D0=B8=20guid=20=D0=BF=D0=BE=20=D0=BC=D0=B0?= =?utf8?q?=D0=B3=D0=B0=D0=B7=D0=B8=D0=BD=D0=B0=D0=BC=20=D0=B8=D0=B7=201?= =?utf8?q?=D1=81=20=D0=91=D1=83=D1=85=D0=B3=D0=B0=D0=BB=D1=82=D0=B5=D1=80?= =?utf8?q?=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- ...821_114356_create_table_motivation_buh.php | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 erp24/migrations/m240821_114356_create_table_motivation_buh.php diff --git a/erp24/migrations/m240821_114356_create_table_motivation_buh.php b/erp24/migrations/m240821_114356_create_table_motivation_buh.php new file mode 100755 index 00000000..9603b998 --- /dev/null +++ b/erp24/migrations/m240821_114356_create_table_motivation_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); + } +} -- 2.39.5