Skip to content

Data migrations are never exercised against populated data #133

Description

@OriginDevIT

CI migrates from zero on every run, so any RunPython backfill runs against empty tables and its body is never executed. 0004's search-vector backfill is the first instance. This is the same structural blind spot that produced the 0017 drift in the Node build. Needs a test that builds the pre-migration state, runs the migration with MigratorTestCase or an equivalent, and asserts the result.

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

    dbpackages/db, schema, migrations

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions