comment_new.go: create page before inserting comment
Fixes https://gitlab.com/commento/commento/issues/173
This commit is contained in:
2
db/20190508222848-reset-count.sql
Normal file
2
db/20190508222848-reset-count.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
UPDATE pages
|
||||
SET commentCount = commentCount + 1;
|
Reference in New Issue
Block a user