sourcegraph/dev/db
Adam Harvey b1492aecfa
db: add a dev script to renumber migrations (#18128)
When I'm working on feature branches that take more than a day or two to
finish, review, and merge, I find that my migrations often end up
conflicting with other people's migrations that have been merged in the
interim. This adds instructions on how to deal with this, based on what
I personally do, and (probably more usefully) bundles the core of the
process into a script that can do most of the dirty work.
2021-02-10 10:51:18 -08:00
..
add_migration.sh codeintel: Publish index configuration from database (#14415) 2020-10-05 12:39:33 -05:00
drop-local-database.sh chore: Co-locate dev scripts to interact with postgres (#13942) 2020-09-18 09:42:25 -05:00
drop-test-databases.sh chore: Co-locate dev scripts to interact with postgres (#13942) 2020-09-18 09:42:25 -05:00
migrate.sh codeintel: RFC 235: Add migration infrastructure to codeintel database (#13903) 2020-10-02 09:56:50 -05:00
rebase_migration.sh db: add a dev script to renumber migrations (#18128) 2021-02-10 10:51:18 -08:00
squash_migrations.sh codeintel: RFC 235: Add migration infrastructure to codeintel database (#13903) 2020-10-02 09:56:50 -05:00