Files
aza/AzA march 2026 - Kopie (3)/_create_licensed_devices.py

17 lines
422 B
Python
Raw Normal View History

2026-03-25 13:42:48 +01:00
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()