Update schema to use more inclusive and snake-case column names
Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
parent
9d08e96153
commit
f820d71df6
1 changed files with 11 additions and 11 deletions
|
@ -2,23 +2,23 @@
|
||||||
id int PRIMARY KEY, \
|
id int PRIMARY KEY, \
|
||||||
title text, \
|
title text, \
|
||||||
url text, \
|
url text, \
|
||||||
feedId int, \
|
feed_id int, \
|
||||||
author text, \
|
author text, \
|
||||||
isFavorite int, \
|
is_favorite int, \
|
||||||
featuredImage text, \
|
featured_image text, \
|
||||||
content text, \
|
content text, \
|
||||||
excerpt text, \
|
excerpt text, \
|
||||||
isRead int, \
|
is_read int, \
|
||||||
pubDate date \
|
published_date date \
|
||||||
); \
|
); \
|
||||||
CREATE TABLE IF NOT EXISTS feeds ( \
|
CREATE TABLE IF NOT EXISTS feeds ( \
|
||||||
id int PRIMARY KEY, \
|
id int PRIMARY KEY, \
|
||||||
title text, \
|
title text, \
|
||||||
url text, \
|
site_url text, \
|
||||||
feedUrl text, \
|
feed_url text, \
|
||||||
icon text, \
|
icon text, \
|
||||||
isFavorite int, \
|
is_favorite int, \
|
||||||
lastPolled date, \
|
last_polled date, \
|
||||||
whitelist text, \
|
filter_accept text, \
|
||||||
blacklist text \
|
filter_reject text \
|
||||||
);"
|
);"
|
||||||
|
|
Loading…
Reference in a new issue