ソースを参照

xhShop增加字段

林琦海 4 年 前
コミット
39660b4891
1 ファイル変更7 行追加0 行削除
  1. 7 0
      sql.txt

+ 7 - 0
sql.txt

@@ -23,3 +23,10 @@ ALTER TABLE `xhShopExt` DROP COLUMN `xj`;
 ALTER TABLE `xhXj`
 ADD COLUMN `shopId`  int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '门店ID' AFTER `status`,
 ADD INDEX `idx_shopId` (`shopId`) USING BTREE ;
+
+
+
+============lqh 2021.12.11
+ALTER TABLE `xhShop`
+ADD COLUMN `parentId`  int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '父级商家id,介绍人' AFTER `agentLevel`,
+ADD COLUMN `parentShopId`  int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '父级门店' AFTER `parentId`;