Skip to content

migrations: Enforce ID constraints via go tests

Warren Gifford requested to merge core/migration-names into master

Created by: keegancsmith

Previously we did not set names on migrations to catch conflicts on the migration ID. We now enforce the constraints on migration IDs via go tests. This allows us to set names again, which makes the migrations more readable.

Fixes https://github.com/sourcegraph/sourcegraph/issues/3910

Merge request reports

Loading