Update database.ml

This commit is contained in:
Rawley Fowler
2022-09-07 12:35:06 -06:00
committed by GitHub
parent 449c1f7129
commit 9a6b49a71b

View File

@@ -29,7 +29,7 @@ module Q = struct
content text NOT NULL, content text NOT NULL,
date text NOT NULL, date text NOT NULL,
active TINYINT DEFAULT 1, active TINYINT DEFAULT 1,
hidden_date INT GENERATED ALWAYS AS unixepoch('now') hidden_date DEFAULT (unixepoch('now'))
|eos} |eos}
let create_blog_post = let create_blog_post =