
import sqlite3

def list_categories():
    conn = sqlite3.connect('/app/companies_v3_fixed_2.db')
    cursor = conn.cursor()
    cursor.execute("SELECT id, name FROM robotics_categories")
    rows = cursor.fetchall()
    print("Categories:")
    for r in rows:
        print(f"ID: {r[0]}, Name: {r[1]}")
    conn.close()

if __name__ == "__main__":
    list_categories()
