shish vor 5 Jahren
Ursprung
Commit
c49fc7ce9c
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      sql.sql

+ 2 - 1
sql.sql

@@ -2396,7 +2396,8 @@ ALTER TABLE xhPurchase MODIFY ghsName VARCHAR(50) NOT NULL DEFAULT '' COMMENT '
 ALTER TABLE xhPurchase MODIFY ghsAvatar VARCHAR(500) NOT NULL DEFAULT '' COMMENT '供货商头像' AFTER `ghsName`;
 DROP TABLE IF EXISTS `xhClear`;
 DROP TABLE IF EXISTS `xhClearSn`;
-
+ALTER TABLE xhCustom DROP INDEX `custom`;
+ALTER TABLE xhCustom ADD UNIQUE INDEX custom(`shopId`,`userId`);
 
 =======linqh
 ==