From 0eff35508f09fc3be612cb178d996002ec88b443 Mon Sep 17 00:00:00 2001 From: Anorak_1 Date: Wed, 9 Aug 2023 22:13:49 +0200 Subject: [PATCH] Created setup.py that creates db file and tables --- setup.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..8264aad --- /dev/null +++ b/setup.py @@ -0,0 +1,7 @@ +import sqlite3 + +con = sqlite3.connect("application.db") +cur = con.cursor() +cur.execute("CREATE TABLE app_msg_db(msg_id, user_id, guild_id)") +cur.execute("CREATE TABLE app_guildapp_db(guild_id, guild_name, application_blob)") +con.commit() \ No newline at end of file