Files
Brancheneinstufung2/check_tables.py
Floke d90d856620 [34288f42] Keine Zusammenfassung angegeben.
Keine Zusammenfassung angegeben.
2026-05-04 06:53:45 +00:00

10 lines
290 B
Python

import sqlite3
db_path = "/app/fotograf-de-scraper/backend/data/fotograf_jobs.db"
conn = sqlite3.connect(db_path)
cursor = conn.cursor()
cursor.execute("SELECT name FROM sqlite_master WHERE type='table';")
tables = cursor.fetchall()
print(f"Tables: {[t[0] for t in tables]}")
conn.close()