diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-08 01:34:02 +0100 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-08 01:34:02 +0100 |
| commit | 101f820153cdb047d13166672d3f46cfef31677d (patch) | |
| tree | cf1806735201f39a1b6b88d179ed16ce1b97ea4f /schema.sql | |
| parent | 9ab593bcd52fcbe87f1be463ca5f09a757d1128f (diff) | |
| download | famille-flask-101f820153cdb047d13166672d3f46cfef31677d.tar.gz | |
Keep both rst and html rendered content in the database. News edit feature
Diffstat (limited to 'schema.sql')
| -rw-r--r-- | schema.sql | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -11,6 +11,7 @@ create table news ( title string not null, date string default (strftime('%Y-%m-%dT%H:%M:%S','now')), content string not null, + content_cache string not null, user_id integer, FOREIGN KEY(user_id) REFERENCES users(id) ); @@ -20,6 +21,7 @@ create table comments ( id integer primary key autoincrement, date string default (strftime('%Y-%m-%dT%H:%M:%S','now')), content string not null, + content_cache string not null, user_id integer, news_id integer, FOREIGN KEY(user_id) REFERENCES users(id), |
