Explorar el Código

docs: 修改脚本文件

ChenSiTong hace 6 años
padre
commit
38fb930074
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/resources/update.sql

+ 1 - 1
src/main/resources/update.sql

@@ -47,7 +47,7 @@ update comment
 set top_number=0
 where top_number is null;
 alter table comment
-    modify id bigint not null;
+    modify id bigint auto_increment;
 alter table comment
     modify top_number int not null;
 alter table comment