From 94e5f0fc6a121c6c3e6132777fb4e102a382e5ed Mon Sep 17 00:00:00 2001 From: Floke Date: Tue, 24 Feb 2026 18:52:14 +0000 Subject: [PATCH] [2ff88f42] Chore: Cleanup moved scripts from root --- .dev_session/SESSION_INFO | 2 +- check_tables.py | 21 --------------------- inspect_db_schema.py | 24 ------------------------ 3 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 check_tables.py delete mode 100644 inspect_db_schema.py diff --git a/.dev_session/SESSION_INFO b/.dev_session/SESSION_INFO index 7318cc29..9ad17c92 100644 --- a/.dev_session/SESSION_INFO +++ b/.dev_session/SESSION_INFO @@ -1 +1 @@ -{"task_id": "2f988f42-8544-800e-abc1-d1b1c56ade4d", "token": "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", "readme_path": "readme.md", "session_start_time": "2026-02-24T14:02:27.897093"} \ No newline at end of file +{"task_id": "2ff88f42-8544-8050-8245-c3bb852058f4", "token": "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", "readme_path": null, "session_start_time": "2026-02-24T18:52:01.774582"} \ No newline at end of file diff --git a/check_tables.py b/check_tables.py deleted file mode 100644 index 127548ce..00000000 --- a/check_tables.py +++ /dev/null @@ -1,21 +0,0 @@ -import sqlite3 - -db_path = "/app/company-explorer/companies_v3_fixed_2.db" -conn = sqlite3.connect(db_path) -cursor = conn.cursor() - -cursor.execute("SELECT name FROM sqlite_master WHERE type='table';") -tables = cursor.fetchall() -print(f"Tables in {db_path}: {tables}") - -# Check content of 'signals' if it exists -if ('signals',) in tables: - print("\nChecking 'signals' table for Wolfra (id=12)...") - cursor.execute("SELECT * FROM signals WHERE account_id=12") - columns = [desc[0] for desc in cursor.description] - rows = cursor.fetchall() - for row in rows: - print(dict(zip(columns, row))) - -conn.close() - diff --git a/inspect_db_schema.py b/inspect_db_schema.py deleted file mode 100644 index 46aa3a63..00000000 --- a/inspect_db_schema.py +++ /dev/null @@ -1,24 +0,0 @@ -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}")