import sqlite3 db_path = "/app/company-explorer/companies_v3_fixed_2.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 in {db_path}: {tables}") # Check content of 'signals' if it exists if ('signals',) in tables: print("\nChecking 'signals' table for Wolfra (id=12)...") cursor.execute("SELECT * FROM signals WHERE account_id=12") columns = [desc[0] for desc in cursor.description] rows = cursor.fetchall() for row in rows: print(dict(zip(columns, row))) conn.close()