import sqlite3
import os

db_path = r"C:\canifa-idea\chatbot-canifa-feedback\backend\database\canifa_ai_dump.sqlite"
if not os.path.exists(db_path):
    print("Database not found!")
else:
    db = sqlite3.connect(db_path)
    c = db.cursor()
    c.execute("SELECT name FROM sqlite_master WHERE type='table';")
    tables = c.fetchall()
    print("Tables in Sqlite:", tables)
