Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-27Removes trailing whitespace to fix lintingEvan Read
2019-08-27Migrations guide: use atomic steps, when possibleMayra Cabrera
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,
2019-08-07Update Migration Style GuideValery Sizov
2019-07-09Update redirected links to final destinationMarcel Amirault
Updating redirected links in the development, install, policy raketasks and university dirs. Should now link to final URL to avoid redirect hops
2019-05-23Add note for index requirement with FK constraintShinya Maeda
Update migration_style_guide.md
2019-04-12Add information about moving migrationsGosia Ksionek
Add to docs paragraph about a way of moving EE migrations to CE if needed
2019-02-18Remove consecutive blank lines from markdown filesEvan Read
For the sake of consistency, removes any extraneous consecutive blank lines from the doc suite.
2019-01-08Make unordered lists conform to styleguideEvan Read
- Also makes other minor Markdown fixes that were near the main fixes.
2019-01-04Add config_options|variables to BuildMetadataKamil Trzciński
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).
2018-12-12Fix ActiveRecord::Migration deprecationsYorick Peterse
Extending from ActiveRecord::Migration is deprecated, but was still used in a bunch of places.
2018-11-20Merge branch 'improve_migrations_docs' into 'master'Yorick Peterse
Documentation: Correct inaccurate phrase related to disable_ddl_transaction mode See merge request gitlab-org/gitlab-ce!21175
2018-11-15Validate foreign keys being indexedKamil Trzciński
2018-08-14Correct inaccurate phrase related to disable_ddl_transaction modeNikolay
2018-08-09Docs: FK constraints require an index.Andreas Brandl
Closes #49789.
2018-03-22make a little more obvious what operations might need downtime or enhanced ↵Brett Walker
migration techniques
2018-03-20Shortcut 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-19doc: Spelling fixesVille Skyttä
2017-11-17Add computed update docs for update_column_in_batchesSean McGivern
2017-08-04Mention schema migrations and patch releasesYorick Peterse
2017-08-04Removed commit guidelines for migrationsYorick Peterse
At some point we decided this isn't really necessary, so let's get rid of it.
2017-06-13Add database helpers 'add_timestamps_with_timezone' and ↵blackst0ne
'timestamps_with_timezone'
2017-05-02Add some documentation for the new migration helpersBob Van Landuyt
2017-04-12Prepare for zero downtime migrationsYorick 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-06Add remove_concurrent_index to database helperblackst0ne
2016-11-09Add more highlighting to Migration Style Guide docRobert Speicher
[ci skip]
2016-10-02Link to the "What requires downtime?" page from the Migration Style GuideNick Thomas
[ci skip]
2016-09-16Add support for column limits in add_column_with_defaultDrew Blessing
2016-07-20Added checks for migration downtimeYorick 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-23Remove Rubocop skip comment from migration style guide [ci skip]Drew Blessing
2016-06-16Update migration_style_guide.md with new detailsDrew Blessing
2016-05-30updtae -> updateChris Spicer
2016-05-12Updated migration styleguide for new helpersYorick Peterse
2016-02-17Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceRémy Coutable
2016-02-12Fix a typo [ci skip]Prayag Verma
Remove extra `make`
2015-11-02Add notice about offline migrationsKamil Trzciński
2015-05-12update migration style guideValery Sizov
2015-05-11Small improvements to style guide.Sytse Sijbrandij
2015-05-11create migration style guide. Fixes #2305Job van der Voort