Ver código fonte

去掉花材表的唯一索引id

shish 4 anos atrás
pai
commit
e1eccae7ec
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      sql.txt

+ 5 - 1
sql.txt

@@ -861,4 +861,8 @@ ALTER TABLE xhShop MODIFY `totalWast` DECIMAL(15,2) NOT NULL DEFAULT '0.00' COMM
 ALTER TABLE xhStatPdSub MODIFY `amount` DECIMAL(15,2) NOT NULL DEFAULT '0.00' COMMENT '金额';
 ALTER TABLE xhStatPdSub MODIFY `totalAmount` DECIMAL(15,2) NOT NULL DEFAULT '0.00' COMMENT '总金额';
 ALTER TABLE xhStatPdSubMonth MODIFY `amount` DECIMAL(15,2) NOT NULL DEFAULT '0.00' COMMENT '金额';
-ALTER TABLE xhStatPdSubMonth MODIFY `totalAmount` DECIMAL(15,2) NOT NULL DEFAULT '0.00' COMMENT '总金额';
+ALTER TABLE xhStatPdSubMonth MODIFY `totalAmount` DECIMAL(15,2) NOT NULL DEFAULT '0.00' COMMENT '总金额';
+
+ALTER TABLE xhGhsItem DROP INDEX `uni_index_product`;
+
+====花材表的mainId添加进去之后,唯一的索引id最好也要加进去 ssh 20220418