summaryrefslogtreecommitdiff
path: root/spec/tasks/migrate
Commit message (Collapse)AuthorAgeFilesLines
* Test schema_version_check directlytest_schema_version_check_directlyThong Kuah2019-07-011-7/+5
| | | | | | Testing via db:migrate causes side-effects like setting ActiveRecord::Base.configurations and also it runs schema dump into db/schema.rb. Rather than keep up, we test schema_version_check directly
* Quarantine schema_version_check because tests after it failedLin Jen-Shin2019-07-011-1/+1
|
* Add the frozen literal to the correct fileDJ Mountney2019-06-251-0/+2
|
* Add an flag for skipping the schema version checkDJ Mountney2019-06-251-0/+21
| | | | | | If you chose to use the rollback migration feature on your current version for example, you should still have a way to migrate, being that you are still on a supported migration path.
* Move min schema version check to db:migrateDJ Mountney2019-06-251-0/+27
Rather than have it checked only as part of gitlab:db:configure, we will instead have it as a pre-req for every db:migrate command