import sqlite3 # RUN THIS FILE ONLY ONCE BEFORE STARTING THE API dbcon = sqlite3.connect("leaderboard.db") db = dbcon.cursor() db.execute('''CREATE TABLE IF NOT EXISTS leaderboard([time_id] INTEGER PRIMARY KEY, [time_username] TEXT, [time_time] REAL, [time_map] TEXT, [time_gamever] TEXT)''') dbcon.commit()