2020-12-20 09:16:23 +01:00
|
|
|
/* Add a new comment to a story */
|
2020-08-13 19:59:33 +02:00
|
|
|
INSERT INTO comments(
|
|
|
|
postid,
|
|
|
|
author,
|
|
|
|
isanon,
|
|
|
|
comment_text,
|
|
|
|
hashedip,
|
|
|
|
post_time
|
|
|
|
) VALUES (
|
|
|
|
:postid,
|
|
|
|
:authorid,
|
|
|
|
:isanon,
|
|
|
|
:comment_text,
|
|
|
|
'',
|
|
|
|
strftime('%s','now')
|
|
|
|
);
|