参照するデータベースを修正(Issue #1)
This commit is contained in:
parent
ab92ecfb4a
commit
450264054b
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Cert():
|
|||
cursor.execute(initial_sql_web_auth)
|
||||
initial_sql_discord_user = "CREATE TABLE discord_user (id INTEGER PRIMARY KEY AUTOINCREMENT, discord_username VARCHAR(32) NOT NULL, discord_userid VARCHAR(18) NOT NULL);"
|
||||
cursor.execute(initial_sql_discord_user)
|
||||
initial_sql_insert_web_admin = "INSERT INTO discord_user (username, password) VALUES ('admin', 'admin');"
|
||||
initial_sql_insert_web_admin = "INSERT INTO web_auth (username, password) VALUES ('admin', 'admin');"
|
||||
cursor.execute(initial_sql_insert_web_admin)
|
||||
self.db.commit()
|
||||
|
||||
|
|
Loading…
Reference in a new issue