- 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.
16 lines
408 B
Python
16 lines
408 B
Python
|
|
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()
|