From 637d55ba40a8f796156ac392aa99eab353ce1ba5 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Tue, 19 Nov 2019 10:25:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8vendor/antgoods=E5=88=9B=E5=BB=BAant?= =?UTF-8?q?=E5=95=86=E5=93=81=E6=A8=A1=E5=9D=97=E5=89=8D=E7=AB=AF=E5=95=86?= =?UTF-8?q?=E5=93=81=E7=B1=BB=E5=88=AB=E8=A1=A8=E6=95=B0=E6=8D=AE=E8=BF=81?= =?UTF-8?q?=E7=A7=BB=E6=96=87=E4=BB=B6,=E5=9C=A8console/migrate=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=89=8D=E7=AB=AF=E5=95=86=E5=93=81=E7=B1=BB=E5=88=AB?= =?UTF-8?q?=E8=A1=A8=E6=95=B0=E6=8D=AE=E8=BF=81=E7=A7=BB=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../m191119_021851_create_table_shop_category.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename console/migrations/m191111_080318_create_table_shop_category.php => vendor/antgoods/goods/src/migrations/m191119_021851_create_table_shop_category.php (87%) diff --git a/console/migrations/m191111_080318_create_table_shop_category.php b/vendor/antgoods/goods/src/migrations/m191119_021851_create_table_shop_category.php similarity index 87% rename from console/migrations/m191111_080318_create_table_shop_category.php rename to vendor/antgoods/goods/src/migrations/m191119_021851_create_table_shop_category.php index da2a1a3..eabe634 100644 --- a/console/migrations/m191111_080318_create_table_shop_category.php +++ b/vendor/antgoods/goods/src/migrations/m191119_021851_create_table_shop_category.php @@ -3,9 +3,9 @@ use yii\db\Migration; /** - * Class m191111_080318_create_table_shop_category + * Class m191119_021851_create_table_shop_category */ -class m191111_080318_create_table_shop_category extends Migration +class m191119_021851_create_table_shop_category extends Migration { /** * {@inheritdoc} @@ -13,7 +13,7 @@ class m191111_080318_create_table_shop_category extends Migration public function up() { $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB COMMENT="前端商品类别表"'; - $this->createTable('ats_shop_category', [ + $this->createTable('antgoods_shop_category', [ 'id' => $this->primaryKey(), 'name'=>$this->string(60)->defaultValue(null)->comment('类别名称'), 'pid'=>$this->integer(11)->defaultValue(null)->comment('父级id'), @@ -36,7 +36,7 @@ class m191111_080318_create_table_shop_category extends Migration */ public function down() { - $this->dropTable('kcs_tags_relation_goods'); + $this->dropTable('antgoods_shop_category'); return true; } }