import sqlite3 db = r"C:\Users\surov\Documents\AZA\backup 24.2.26\data\stripe_webhook.sqlite" con = sqlite3.connect(db) con.execute(""" CREATE TABLE IF NOT EXISTS licensed_devices ( id INTEGER PRIMARY KEY AUTOINCREMENT, customer_email TEXT NOT NULL, user_key TEXT NOT NULL, device_id TEXT, first_seen INTEGER, last_seen INTEGER ) """) con.commit() print("licensed_devices table ready") con.close()