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_log |
|
34 | logging.info('creating table %s', 'user_logs') | |
35 |
cur.execute("""DROP TABLE IF EXISTS user_log |
|
35 | cur.execute("""DROP TABLE IF EXISTS user_logs """) | |
36 |
cur.execute("""CREATE TABLE user_log |
|
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