##// END OF EJS Templates
fixed name bug in create db script
Marcin Kuzminski -
r67:ffd9ff6e default
parent child Browse files
Show More
@@ -31,9 +31,9 b' def create_tables():'
31 password TEXT,
31 password TEXT,
32 active INTEGER,
32 active INTEGER,
33 admin INTEGER)""")
33 admin INTEGER)""")
34 logging.info('creating table %s', 'user_loggings')
34 logging.info('creating table %s', 'user_logs')
35 cur.execute("""DROP TABLE IF EXISTS user_loggings """)
35 cur.execute("""DROP TABLE IF EXISTS user_logs """)
36 cur.execute("""CREATE TABLE user_loggings
36 cur.execute("""CREATE TABLE user_logs
37 (id INTEGER PRIMARY KEY AUTOINCREMENT,
37 (id INTEGER PRIMARY KEY AUTOINCREMENT,
38 user_id INTEGER,
38 user_id INTEGER,
39 repository TEXT,
39 repository TEXT,
General Comments 0
You need to be logged in to leave comments. Login now