From: marina Date: Mon, 27 Jan 2025 12:04:25 +0000 (+0300) Subject: ERP-282 Нужно сделать интерфейс настройки магазина X-Git-Tag: 1.7~35^2~16 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=a866ccf4a066f785c6d6301f67c84144a4d15a85;p=erp24_rep%2Fyii-erp24%2F.git ERP-282 Нужно сделать интерфейс настройки магазина --- diff --git a/erp24/migrations/m250127_103546_drop_column_in_city_store_params.php b/erp24/migrations/m250127_103546_drop_column_in_city_store_params.php new file mode 100644 index 00000000..fa4c7a22 --- /dev/null +++ b/erp24/migrations/m250127_103546_drop_column_in_city_store_params.php @@ -0,0 +1,40 @@ +dropColumn('city_store_params', 'bush_id'); + } + + /** + * {@inheritdoc} + */ + public function safeDown() + { + $this->addColumn('city_store_params', 'bush_id', $this->integer()->comment('ID куста')); + } + + /* + // Use up()/down() to run migration code without a transaction. + public function up() + { + + } + + public function down() + { + echo "m250127_103546_drop_column_in_city_store_params cannot be reverted.\n"; + + return false; + } + */ +}