# HG changeset patch # User Marcin Kuzminski # Date 1270921462 -7200 # Node ID ffd9ff6e2f33c20138804145dab70e8eafb3859f # Parent 163464441e0ddabc8f42e94f0f0adda711e0d660 fixed name bug in create db script diff -r 163464441e0d -r ffd9ff6e2f33 pylons_app/lib/db_manage.py --- 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,