- Feb 21, 2020
-
-
GitLab Bot authored
-
- Feb 20, 2020
-
-
GitLab Bot authored
-
- Feb 11, 2020
-
-
GitLab Bot authored
-
- Feb 06, 2020
-
-
GitLab Bot authored
-
- Feb 04, 2020
-
-
GitLab Bot authored
-
- Jan 09, 2020
-
-
GitLab Bot authored
-
- Nov 27, 2019
-
-
GitLab Bot authored
-
- Nov 01, 2019
-
-
GitLab Bot authored
-
- Oct 07, 2019
-
-
GitLab Bot authored
-
- Sep 24, 2019
-
-
GitLab Bot authored
-
- Sep 23, 2019
-
-
GitLab Bot authored
-
- Sep 18, 2019
-
-
GitLab Bot authored
-
GitLab Bot authored
-
- Aug 27, 2019
-
-
Evan Read authored
-
Currently, the DB migrations guide says that "you must" use non-blocking operations (such as CREATE INDEX CONCURRENTLY), always. But this does not make sense in cases of empty tables and leads to splitting the work to multiple non-atomic (with disable_ddl_transaction!) DB migrations. To follow KISS principle, to have fewer DB migrations steps, to have them atomic when it's possible and simplify deployment and troubleshooting, the following exceptions were added to the doc: - index creation, - index dropping, - defining an FK, - adding a column with DEFAULT,
-
- Aug 07, 2019
-
-
Valery Sizov authored
-
- Jul 09, 2019
-
-
Updating redirected links in the development, install, policy raketasks and university dirs. Should now link to final URL to avoid redirect hops
-
- May 23, 2019
-
-
Shinya Maeda authored
Update migration_style_guide.md
-
- Apr 12, 2019
-
-
mksionek authored
Add to docs paragraph about a way of moving EE migrations to CE if needed
-
- Feb 18, 2019
-
-
For the sake of consistency, removes any extraneous consecutive blank lines from the doc suite.
-
- Jan 08, 2019
-
-
Evan Read authored
- Also makes other minor Markdown fixes that were near the main fixes.
-
- Jan 04, 2019
-
-
Kamil Trzcińśki authored
These are data columns that store runtime configuration of build needed to execute it on runner and within pipeline. The definition of this data is that once used, and when no longer needed (due to retry capability) they can be freely removed. They use `jsonb` on PostgreSQL, and `text` on MySQL (due to lacking support for json datatype on old enough version).
-
- Dec 12, 2018
-
-
Yorick Peterse authored
Extending from ActiveRecord::Migration is deprecated, but was still used in a bunch of places.
-
- Nov 15, 2018
-
-
Kamil Trzcińśki authored
-
- Aug 14, 2018
-
-
Nikolay authored
-
- Aug 08, 2018
-
-
Andreas Brandl authored
Closes #49789.
-
- Mar 22, 2018
-
-
- Mar 20, 2018
-
-
Andreas Brandl authored
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 ```
-
- Jan 19, 2018
-
-
Ville Skyttä authored
-
- Nov 17, 2017
-
-
Sean McGivern authored
-
- Aug 04, 2017
-
-
Yorick Peterse authored
-
Yorick Peterse authored
At some point we decided this isn't really necessary, so let's get rid of it.
-
- Jun 13, 2017
-
-
blackst0ne authored
-
- May 02, 2017
-
-
Bob Van Landuyt :neckbeard: authored
-
- Apr 12, 2017
-
-
Yorick Peterse authored
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.
-
- Apr 05, 2017
-
-
blackst0ne authored
-
- Nov 09, 2016
-
-
Robert Speicher authored
[ci skip]
-
- Oct 02, 2016
-
-
Nick Thomas authored
[ci skip]
-
- Sep 16, 2016
-
-
Drew Blessing authored
-
- Jul 20, 2016
-
-
Yorick Peterse authored
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]
-