add hidden date field for sorting posts
This commit is contained in:
@@ -29,7 +29,7 @@ module Q = struct
|
||||
content text NOT NULL,
|
||||
date text NOT NULL,
|
||||
active TINYINT DEFAULT 1,
|
||||
hidden_date DEFAULT (unixepoch('now'))
|
||||
hidden_date timestamp DEFAULT (strftime('%s', 'now')))
|
||||
|eos}
|
||||
|
||||
let create_blog_post =
|
||||
|
||||
Reference in New Issue
Block a user