[2ff88f42] Chore: Cleanup moved scripts from root
This commit is contained in:
@@ -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"}
|
||||
{"task_id": "2ff88f42-8544-8050-8245-c3bb852058f4", "token": "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", "readme_path": null, "session_start_time": "2026-02-24T18:52:01.774582"}
|
||||
@@ -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()
|
||||
|
||||
@@ -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}")
|
||||
Reference in New Issue
Block a user