diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-09 23:41:01 +0100 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-09 23:41:01 +0100 |
| commit | 76d58425de6a1e3505c777921b1e58bf03370366 (patch) | |
| tree | 602fff4b0de26eae33dee7378426cee9f375b5d9 /schema.sql | |
| parent | 867e8acae887638beb5107fb7a5c9f3e403d06e0 (diff) | |
| download | famille-flask-76d58425de6a1e3505c777921b1e58bf03370366.tar.gz | |
Import old database.
The database is in the file new.db. dump,sql contains a sqlite3 compliant dump.
To regenerate the database from the dump:
$ sqlite3 old.db < dump.sql
$ python createdb.py -s schema.sql -d new.db
$ python import.py old.db new.db
Diffstat (limited to 'schema.sql')
| -rw-r--r-- | schema.sql | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ drop table if exists comments; create table comments ( id integer primary key autoincrement, date string default (strftime('%Y-%m-%dT%H:%M:%SZ','now')), - content string not null, + content string, content_cache string not null, user_id integer, news_id integer, |
