import sqlite3 def create_tribe_table(conn) -> None: cursor = conn.cursor() cursor.execute( """ CREATE TABLE IF NOT EXISTS tribes( name TEXT PRIMARY KEY UNIQUE, level TEXT ) """ ) conn.commit() def create_db(conn) -> None: create_tribe_table(conn)