[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.
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