Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-22 | make a little more obvious what operations might need downtime or enhanced ↵ | Brett Walker | |
migration techniques | |||
2018-03-20 | Shortcut concurrent index creation/removal if no effect. | Andreas Brandl | |
Index creation does not have an effect if the index is present already. Index removal does not have an affect if the index is not present. This helps to avoid patterns like this in migrations: ``` if index_exists?(...) remove_concurrent_index(...) end ``` | |||
2018-01-19 | doc: Spelling fixes | Ville Skyttä | |
2017-11-17 | Add computed update docs for update_column_in_batches | Sean McGivern | |
2017-08-04 | Mention schema migrations and patch releases | Yorick Peterse | |
2017-08-04 | Removed commit guidelines for migrations | Yorick Peterse | |
At some point we decided this isn't really necessary, so let's get rid of it. | |||
2017-06-13 | Add database helpers 'add_timestamps_with_timezone' and ↵ | blackst0ne | |
'timestamps_with_timezone' | |||
2017-05-02 | Add some documentation for the new migration helpers | Bob Van Landuyt | |
2017-04-12 | Prepare for zero downtime migrations | Yorick Peterse | |
Starting with GitLab 9.1.0 we will no longer allow downtime migrations unless absolutely necessary. This commit updates the various developer guides and adds code that is necessary to make zero downtime migrations less painful. | |||
2017-04-06 | Add remove_concurrent_index to database helper | blackst0ne | |
2016-11-09 | Add more highlighting to Migration Style Guide doc | Robert Speicher | |
[ci skip] | |||
2016-10-02 | Link to the "What requires downtime?" page from the Migration Style Guide | Nick Thomas | |
[ci skip] | |||
2016-09-16 | Add support for column limits in add_column_with_default | Drew Blessing | |
2016-07-20 | Added checks for migration downtime | Yorick Peterse | |
These new checks can be used to check if migrations require downtime or not (as tagged by their authors). In CI this compares the current branch with master so migrations added by merge requests are automatically verified. To check the migrations added since a Git reference simply run: bundle exec rake gitlab:db:downtime_check[GIT_REF] | |||
2016-06-23 | Remove Rubocop skip comment from migration style guide [ci skip] | Drew Blessing | |
2016-06-16 | Update migration_style_guide.md with new details | Drew Blessing | |
2016-05-30 | updtae -> update | Chris Spicer | |
2016-05-12 | Updated migration styleguide for new helpers | Yorick Peterse | |
2016-02-17 | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce | Rémy Coutable | |
2016-02-12 | Fix a typo [ci skip] | Prayag Verma | |
Remove extra `make` | |||
2015-11-02 | Add notice about offline migrations | Kamil Trzciński | |
2015-05-12 | update migration style guide | Valery Sizov | |
2015-05-11 | Small improvements to style guide. | Sytse Sijbrandij | |
2015-05-11 | create migration style guide. Fixes #2305 | Job van der Voort | |