[30388f42] Infrastructure Hardening: Repaired CE/Connector DB schema, fixed frontend styling build, implemented robust echo shield in worker v2.1.1, and integrated Lead Engine into gateway.
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user