Commit Graph

5 Commits

Author SHA1 Message Date
Sean McGivern d8be981466 Prevent update_column_in_batches on large tables
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-11-17 16:56:50 +00:00
Grzegorz Bizon 3fd4a37d58 Disable transactions in migrations that should not use it 2017-06-21 14:35:06 +02:00
Rémy Coutable b8b9ed55df Disable Migration/UpdateColumnInBatches for old migrations
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-29 11:28:23 +02:00
Valery Sizov b84723ac8b [Issue Sorting] Improve migration 2017-03-14 14:11:59 +02:00
Valery Sizov 67686e38fd Added migration to reset existing relative_position for issues 2017-03-14 14:11:59 +02:00