added 3rd table, fixed typo
parent
784fd08f58
commit
692541718a
5
setup.py
5
setup.py
|
@ -2,6 +2,7 @@ import sqlite3
|
||||||
|
|
||||||
con = sqlite3.connect("applications.db")
|
con = sqlite3.connect("applications.db")
|
||||||
cur = con.cursor()
|
cur = con.cursor()
|
||||||
cur.execute("CREATE TABLE app_msg_db(msg_id, user_id, guild_id)")
|
cur.execute("CREATE TABLE app_msg_db(msg_id, user_id, guild_id, app_name)")
|
||||||
cur.execute("CREATE TABLE app_guildapp_db(guild_id, guild_name, application_blob)")
|
cur.execute("CREATE TABLE app_guildapp_db(guild_id, guild_name, applications_blob)")
|
||||||
|
cur.execute("CREATE TABLE app_start_db(msg_id, app_name, guild_id)")
|
||||||
con.commit()
|
con.commit()
|
Loading…
Reference in New Issue