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-09-05Refactor new undo_* methodsReuben Pereira
- Move code for creating a new column from old into a function so that it can be reused. - Also add comments above the methods.
2019-08-30Use self.ignored_columns += instead of =Stan Hu
This is to accomodate prepended modules.
2019-08-29Remove dependency on IgnorableColumn concerndineshpanda
2019-08-16Remove MySQL references from development docsNick Thomas
I noticed the doc/development/testing_guide/best_practices.md still referenced the `[run mysql]` tags, etc. They no longer work, so I removed them, then realised I had better clean up the rest of doc/development !
2019-08-05Expand markdown linting rules for docsMarcel Amirault
MD002 - First header should be level 1 MD006 - Start bullets at beginning of line MD019 - No multiple spaces after header style MD022 - Headers surrounded by blank lines MD025 - Only 1 level 1 header MD028 - No blank lines within blockquote MD038 - Spaces inside code span elements
2018-12-12Fix ActiveRecord::Migration deprecationsYorick Peterse
Extending from ActiveRecord::Migration is deprecated, but was still used in a bunch of places.
2018-11-13Resolve Markdown ordered lists not conforming to styleguideEvan Read
2018-07-11Fix doc for large table column renameMark Chao
2018-06-26Add a helper to rename a column using a background migrationSean McGivern
This works the same way as change_column_type_using_background_migration, but for renaming a column. It takes a table, not a relation, to match its concurrent counterpart. Also, generalise the cleanup migrations to reduce code duplication.
2018-06-19Add docs for the cleanup step of a background column type changeSean McGivern
A background column type change needs a cleanup step, like any background migration. We should call that out explicitly in the documentation.
2018-04-27Fixed typosPascal Borreli
2018-01-03Use a background migration for issues.closed_atYorick Peterse
In a previous attempt (rolled back in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16021) we tried to migrate `issues.closed_at` from timestamp to timestamptz using a regular migration. This has a bad impact on GitLab.com and as such was rolled back. This commit re-implements the original migrations using generic background migrations, allowing us to still migrate the data in a single release but without a negative impact on availability. To ensure the database schema is up to date the background migrations are performed inline in development and test environments. We also make sure to not migrate that that doesn't need migrating in the first place or has already been migrated.
2017-11-29fix link that was linking to `html` instead of `md`digitalMoksha
(to be consistent)
2017-05-18[Migration guide] Add note about prefering change_column_null over change_columnValery Sizov
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.
2016-11-07Renaming columns requires downtimeNick Thomas
2016-08-10Mention add_column_with_default in downtime guideYorick Peterse
[ci skip]
2016-08-04Added guide about migrations and downtimeYorick Peterse
This guide describes various commonly used operations and the impact they have on the availability of a GitLab instance.