[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:
15
devtools/db_utils/inspect_schema.py
Normal file
15
devtools/db_utils/inspect_schema.py
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
import sqlite3
|
||||
|
||||
def list_industries_schema():
|
||||
conn = sqlite3.connect('/app/companies_v3_fixed_2.db')
|
||||
cursor = conn.cursor()
|
||||
cursor.execute("PRAGMA table_info(industries)")
|
||||
columns = cursor.fetchall()
|
||||
print("Columns in 'industries' table:")
|
||||
for col in columns:
|
||||
print(f"Name: {col[1]}, Type: {col[2]}")
|
||||
conn.close()
|
||||
|
||||
if __name__ == "__main__":
|
||||
list_industries_schema()
|
||||
Reference in New Issue
Block a user