import sqlite3

for label, path in [("project", '/home/hmo/projects/MoFin/data/mofin.db'), ("real", '/home/hmo/web-dashboard/data/mofin.db')]:
    db = sqlite3.connect(path)
    sql = db.execute("SELECT sql FROM sqlite_master WHERE name='todos'").fetchone()
    print(f"=== {label}: {path} ===")
    print(sql[0] if sql else "NOT FOUND")
    db.close()
