2023-08-10 00:28:48 +02: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')
|
|
|
|
);
|