aboutsummaryrefslogtreecommitdiffstats
path: root/schema.sql
diff options
context:
space:
mode:
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/schema.sql b/schema.sql
index cda7bc3..18ee95c 100644
--- a/schema.sql
+++ b/schema.sql
@@ -9,7 +9,7 @@ drop table if exists news;
create table news (
id integer primary key autoincrement,
title string not null,
- date string default (strftime('%Y-%m-%dT%H:%M:%S','now')),
+ date string default (strftime('%Y-%m-%dT%H:%M:%SZ','now')),
content string not null,
content_cache string not null,
user_id integer,
@@ -19,7 +19,7 @@ create table news (
drop table if exists comments;
create table comments (
id integer primary key autoincrement,
- date string default (strftime('%Y-%m-%dT%H:%M:%S','now')),
+ date string default (strftime('%Y-%m-%dT%H:%M:%SZ','now')),
content string not null,
content_cache string not null,
user_id integer,