aboutsummaryrefslogtreecommitdiffstats
path: root/init.sql
diff options
context:
space:
mode:
Diffstat (limited to 'init.sql')
-rw-r--r--init.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.sql b/init.sql
index d2c0de1..1e41f88 100644
--- a/init.sql
+++ b/init.sql
@@ -17,7 +17,8 @@ CREATE TABLE item (
title TEXT,
url VARCHAR(255) NOT NULL,
description TEXT,
- full_content TEXT,
+ full_content TEXT NOT NULL DEFAULT "",
+ header_image TEXT NOT NULL DEFAULT "",
publish_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
read_state BOOLEAN DEFAULT FALSE NOT NULL,
starred BOOLEAN DEFAULT FALSE NOT NULL,