fix: changed formatting in create_table

This commit is contained in:
Seaswimmer 2023-08-02 01:06:35 -04:00
parent 95b4abd8bb
commit b2f4e9f3e5
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -25,9 +25,10 @@ class MusicDownloader(commands.Cog):
con = sqlite3.connect(db_path) con = sqlite3.connect(db_path)
cur = con.cursor() cur = con.cursor()
cur.execute(''' cur.execute('''
CREATE TABLE IF NOT EXISTS blacklist_log ( CREATE TABLE [IF NOT EXISTS] "blacklist_log" (
user_id INTEGER PRIMARY KEY, "user_id" INTEGER NOT NULL UNIQUE,
reason STRING DEFAULT NULL "reason" TEXT DEFAULT NULL,
PRIMARY KEY("user_id")
); );
''') ''')
con.commit() con.commit()