Files
Brancheneinstufung2/devtools/history/fix_tech_id_2026-02-24.py
Floke 8d53be15c4 [2ff88f42] Feat: Verticals-Update (Transkript 2) & Dev-Toolbox Establishment
- Aktualisierung der Pains/Gains für Energy, Retail und Tech in der lokalen DB.
- Ergänzung von Secondary Products für Energy & Tech.
- Aufbau eines permanenten Werkzeugkastens unter /app/devtools/ für DB- & Notion-Tasks.
- Verifikation der manuellen Notion-Änderungen mittels neuer Maintenance-Skripte.
2026-02-24 18:52:09 +00:00

21 lines
424 B
Python

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()