10 lines
290 B
Python
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()
|