Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-18 | Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42 | GitLab Bot | |
2021-01-20 | Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42 | Robert Speicher | |
2020-12-17 | Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42 | GitLab Bot | |
2020-10-21 | Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42 | GitLab Bot | |
2020-09-19 | Add latest changes from gitlab-org/gitlab@13-4-stable-ee | GitLab Bot | |
2020-08-20 | Add latest changes from gitlab-org/gitlab@13-3-stable-ee | GitLab Bot | |
2020-07-20 | Add latest changes from gitlab-org/gitlab@13-2-stable-ee | GitLab Bot | |
2020-06-18 | Add latest changes from gitlab-org/gitlab@13-1-stable-ee | GitLab Bot | |
2020-05-20 | Add latest changes from gitlab-org/gitlab@13-0-stable-ee | GitLab Bot | |
2020-04-08 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-05 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-30 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-27 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-18 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-13 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-02-28 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-02-19 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-01-02 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-12-27 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-12-19 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-11-21 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-10-29 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-10-18 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-09-13 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-08-24 | Adds cop to enforce string limits on migrations | Mayra 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-28 | Properly handle `ee` migration specs | Heinrich Lee Yu | |
2018-12-12 | Fix ActiveRecord::Migration deprecations | Yorick Peterse | |
Extending from ActiveRecord::Migration is deprecated, but was still used in a bunch of places. | |||
2018-11-27 | Make add_reference cop accept a hash for :index | Toon 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-09 | Add rubocop check for add_reference to require index. | Andreas Brandl | |
2018-06-19 | Disallow methods that copy data on large tables | Sean 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-22 | Use gitlab-styles | Rémy Coutable | |
Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-12-11 | Add cop for use of remove_column | Sean 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-17 | Prevent update_column_in_batches on large tables | Sean 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-10 | Also warn on timestamp in datetime migration cop | Sean 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-14 | Add SaferBooleanColumn cop | Michael Kozono | |
2017-07-14 | Added cop to blacklist the use of hash indexes | Yorick 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-21 | Enable Style/DotPosition Rubocop :cop: | Grzegorz Bizon | |
2017-06-13 | Add database helpers 'add_timestamps_with_timezone' and ↵ | blackst0ne | |
'timestamps_with_timezone' | |||
2017-05-29 | New Migration/UpdateColumnInBatches cop | Rémy Coutable | |
Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-04-28 | Add AddColumnWithDefaultToLargeTable cop | Robert Speicher | |
2017-04-28 | Rename AddColumnWithDefault to ReversibleAddColumnWithDefault | Robert 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-06 | Add remove_concurrent_index to database helper | blackst0ne | |
2017-03-07 | Add cop to ensure reversibility of add_concurrent_index | Douwe Maan | |
2017-02-10 | Enforce use of add_concurrent_foreign_key | Yorick 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-09 | Add cop that checks if add_column_with_default is used with up/down methods | Douwe Maan | |