Initial commit
This commit is contained in:
16
backup 24.2.26 - Kopie (61)/_create_licensed_devices.py
Normal file
16
backup 24.2.26 - Kopie (61)/_create_licensed_devices.py
Normal file
@@ -0,0 +1,16 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user