Mercurial > kallithea
changeset 67:ffd9ff6e2f33
fixed name bug in create db script
author | Marcin Kuzminski <marcin@python-blog.com> |
---|---|
date | Sat, 10 Apr 2010 19:44:22 +0200 |
parents | 163464441e0d |
children | 9f956354807b |
files | pylons_app/lib/db_manage.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pylons_app/lib/db_manage.py Sat Apr 10 19:07:13 2010 +0200 +++ b/pylons_app/lib/db_manage.py Sat Apr 10 19:44:22 2010 +0200 @@ -31,9 +31,9 @@ password TEXT, active INTEGER, admin INTEGER)""") - logging.info('creating table %s', 'user_loggings') - cur.execute("""DROP TABLE IF EXISTS user_loggings """) - cur.execute("""CREATE TABLE user_loggings + logging.info('creating table %s', 'user_logs') + cur.execute("""DROP TABLE IF EXISTS user_logs """) + cur.execute("""CREATE TABLE user_logs (id INTEGER PRIMARY KEY AUTOINCREMENT, user_id INTEGER, repository TEXT,