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
2021-02-18Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot
2021-01-20Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42Robert Speicher
2020-12-17Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42GitLab Bot
2020-10-21Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot
2020-09-19Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot
2020-08-20Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-06-18Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot
2020-05-20Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot
2020-04-08Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-04-05Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-30Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-27Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-28Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-19Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-02Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-27Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-19Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-21Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-29Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-24Adds cop to enforce string limits on migrationsMayra Cabrera
This cop will analyze migrations that add columns with string, and report an offense if the string has no limit enforced Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/64505
2019-03-28Properly handle `ee` migration specsHeinrich Lee Yu
2018-12-12Fix ActiveRecord::Migration deprecationsYorick Peterse
Extending from ActiveRecord::Migration is deprecated, but was still used in a bunch of places.
2018-11-27Make add_reference cop accept a hash for :indexToon Claes
It might happen you want to make the reference column have a unique value, or you want to create partial indexes. So instead of only accepting a `true` value, also accept a hash of options.
2018-08-09Add rubocop check for add_reference to require index.Andreas Brandl
2018-06-19Disallow methods that copy data on large tablesSean McGivern
{change_column_type,rename_column}_concurrently both copy data from one column to another during a migration, which should not be done on GitLab.com. Instead, we should use background migrations.
2017-12-22Use gitlab-stylesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-11Add cop for use of remove_columnSean McGivern
remove_column should only be used in the up (or change) step of a migration if it's a post-deployment migration. Otherwise there will be downtime due to the ActiveRecord column cache, which we can avoid by using the IgnorableColumn concern in combination with a post-deployment migration.
2017-11-17Prevent update_column_in_batches on large tablesSean McGivern
add_column_with_default is implemented in terms of update_column_in_batches, but update_column_in_batches can be used independently. Neither of these should be used on the specified large tables, because they will cause issues on large instances like GitLab.com. This also ignores the cop for all existing migrations, renaming AddColumnWithDefaultToLargeTable where appropriate.
2017-10-10Also warn on timestamp in datetime migration copSean McGivern
The types `timestamp` and `datetime` are aliases: https://github.com/rails/rails/blob/v4.2.10/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#L362-L364
2017-08-14Add SaferBooleanColumn copMichael Kozono
2017-07-14Added cop to blacklist the use of hash indexesYorick Peterse
These indexes are not recorded in the WAL (at least until PostgreSQL 10) and this isn't worth the minor performance improvement over btree indexes.
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-13Add database helpers 'add_timestamps_with_timezone' and ↵blackst0ne
'timestamps_with_timezone'
2017-05-29New Migration/UpdateColumnInBatches copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-28Add AddColumnWithDefaultToLargeTable copRobert Speicher
2017-04-28Rename AddColumnWithDefault to ReversibleAddColumnWithDefaultRobert Speicher
We're going to add another cop that deals with another aspect of `add_column_with_default`, so we need to separate them.
2017-04-06Add remove_concurrent_index to database helperblackst0ne
2017-03-07Add cop to ensure reversibility of add_concurrent_indexDouwe Maan
2017-02-10Enforce use of add_concurrent_foreign_keyYorick Peterse
This adds a Rubocop rule to enforce the use of add_concurrent_foreign_key instead of the regular add_foreign_key method. This cop has been disabled for existing migrations so we don't need to change those.
2017-02-09Add cop that checks if add_column_with_default is used with up/down methodsDouwe Maan