Changeset - ffd9ff6e2f33
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 16 years ago 2010-04-10 19:44:22
marcin@python-blog.com
fixed name bug in create db script
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
pylons_app/lib/db_manage.py
Show inline comments
 
@@ -31,9 +31,9 @@ def create_tables():
 
                         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,
0 comments (0 inline, 0 general)