[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:
20
devtools/history/fix_tech_id_2026-02-24.py
Normal file
20
devtools/history/fix_tech_id_2026-02-24.py
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
import sqlite3
|
||||
|
||||
def fix_tech_id():
|
||||
db_path = '/app/companies_v3_fixed_2.db'
|
||||
conn = sqlite3.connect(db_path)
|
||||
cursor = conn.cursor()
|
||||
|
||||
cursor.execute("""
|
||||
UPDATE industries
|
||||
SET secondary_category_id = 9
|
||||
WHERE name = 'Tech - Data Center'
|
||||
""")
|
||||
print("Updated Tech - Data Center Secondary ID to 9")
|
||||
|
||||
conn.commit()
|
||||
conn.close()
|
||||
|
||||
if __name__ == "__main__":
|
||||
fix_tech_id()
|
||||
Reference in New Issue
Block a user