diff --git a/create_authenticator_db.py b/create_authenticator_db.py index ba22819..726f6c1 100755 --- a/create_authenticator_db.py +++ b/create_authenticator_db.py @@ -17,6 +17,6 @@ if __name__ == "__main__": conn = sqlite3.connect(filename) cursor = conn.cursor() - cursor.execute("CREATE TABLE authorized_uids(uid_hex, nick)") + cursor.execute("CREATE TABLE authorized_uids(id INTEGER PRIMARY KEY AUTOINCREMENT, uid_hex TEXT, nick TEXT)") conn.commit() conn.close() diff --git a/test_uids_db.sqlite b/test_uids_db.sqlite index 1580cde..be6bbe4 100644 Binary files a/test_uids_db.sqlite and b/test_uids_db.sqlite differ