Browse Source

docs: 修改脚本文件

ChenSiTong 6 years ago
parent
commit
38fb930074
1 changed files with 1 additions and 1 deletions
  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
 set top_number=0
 where top_number is null;
 where top_number is null;
 alter table comment
 alter table comment
-    modify id bigint not null;
+    modify id bigint auto_increment;
 alter table comment
 alter table comment
     modify top_number int not null;
     modify top_number int not null;
 alter table comment
 alter table comment