comment_new.go: create page before inserting comment

Fixes https://gitlab.com/commento/commento/issues/173
This commit is contained in:
Adhityaa Chandrasekar committed 2019-07-25 18:25:08 -07:00
1 parent ff04981cf5
commit 62340eb9c6
3 files changed
+8 -6

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
UPDATE pages
SET commentCount = commentCount + 1;