{
  "id": "python/sqlalchemy-exc-no-such-table-error",
  "signature": "sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: users",
  "signature_zh": "没有名为“users”的表",
  "regex": "sqlalchemy\\.exc\\.OperationalError:\\ \\(sqlite3\\.OperationalError\\)\\ no\\ such\\ table:\\ users",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The database does not contain the expected table, often because migrations were not run or the table was never created.",
  "root_cause_type": "generic",
  "root_cause_zh": "数据库不包含预期的表，通常是因为未运行迁移或表从未创建。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Creating table manually with SQL",
      "why_fails": "",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "Restarting the app only",
      "why_fails": "",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Create tables via metadata",
      "success_rate": 0.95,
      "how": "Run migrations using Alembic or call Base.metadata.create_all(engine) to create all tables defined in models.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Verify database path",
      "success_rate": 0.85,
      "how": "Check the database file path and ensure it points to the correct location where tables exist.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.86,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-08-18",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}