Files
aza/AzA march 2026 - Kopie (4)/_create_licensed_devices.py
2026-03-30 07:59:11 +02:00

17 lines
422 B
Python

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()