Skip to content

Drop the orphaned analysis table via Alembic (follow-up to #3801) #3802

Description

@MaxGhenis

Follow-up to #3801, which removed the AI-analysis feature but deliberately left the schema alone.

policyengine_api/data/v1_models.py still defines Analysis (__tablename__ = "analysis") and the table still exists in Cloud SQL, with no remaining reader or writer. Drop it the repo way: remove the model, then uv run alembic -c alembic-v1.ini revision --autogenerate -m "drop orphaned analysis table" against a live MySQL (the Alembic v1 qualification job), with upgrade/downgrade covered as in 01e49b3a056e (the orphaned question table precedent).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions