feat(so-sync): final round-trip tools and infrastructure fixes

This commit is contained in:
Moltbot-Jarvis
2026-02-16 13:58:28 +00:00
parent bb306c7717
commit d2e9ee2a70
12 changed files with 512 additions and 1 deletions

24
inspect_db_schema.py Normal file
View File

@@ -0,0 +1,24 @@
import sqlite3
import os
db_path = "/home/node/clawd/repos/brancheneinstufung2/company-explorer/backend/companies_v3_fixed_2.db"
if not os.path.exists(db_path):
# Fallback to check other potential locations
db_path = "/home/node/clawd/repos/brancheneinstufung2/companies_v3_fixed_2.db"
print(f"--- Inspecting Database: {db_path} ---")
try:
conn = sqlite3.connect(db_path)
cursor = conn.cursor()
cursor.execute("PRAGMA table_info(companies)")
columns = cursor.fetchall()
print("Columns in table 'companies':")
for col in columns:
print(f"- {col[1]} ({col[2]})")
conn.close()
except Exception as e:
print(f"Error: {e}")