summaryrefslogtreecommitdiff
path: root/lib/gitlab/database/migration_helpers.rb
Commit message (Expand)AuthorAgeFilesLines
* Add some comments on new migrations helpersfix/gb/stage-id-reference-background-migrationGrzegorz Bizon2017-07-071-0/+38
* Schedule stage_id background migration in rangesGrzegorz Bizon2017-07-071-1/+1
* Extract `execute_in_batches` migrations helperGrzegorz Bizon2017-07-061-15/+24
* Add walk_table_in_batches and refactor migration helpersGrzegorz Bizon2017-07-061-27/+48
* Merge branch 'master' into fix/gb/improve-updating-column-in-batches-helperGrzegorz Bizon2017-06-221-15/+15
|\
| * Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-15/+15
* | Raise if updating columns in batches within a transactionGrzegorz Bizon2017-06-211-0/+6
|/
* Put an upper limit on update batchesupdate-column-in-batches-batch-sizeYorick Peterse2017-06-191-0/+6
* Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_time...32054-rails-should-use-timestamptz-database-type-for-postgresqlblackst0ne2017-06-131-0/+33
* Only use DROP INDEX CONCURRENTLY on postgreql 9.2+Nick Thomas2017-05-251-1/+34
* Disallow NULL on renamed column after default has been setDouwe Maan2017-05-151-1/+2
* Fix adding defaults for concurrent column renamesrename-column-concurrently-defaultsYorick Peterse2017-05-121-1/+5
* Add a new column before creating rename triggersBob Van Landuyt2017-05-111-10/+10
* Move `replace_sql` into `Database::MigrationHelpers`Bob Van Landuyt2017-05-011-0/+23
* Merge branch 'zero-downtime-migrations' into 'master' Douwe Maan2017-04-121-1/+241
|\
| * Prepare for zero downtime migrationszero-downtime-migrationsYorick Peterse2017-04-121-1/+241
* | removes redundant code from database.rb29056-backport-ee-cleanup-database-fileTiago Botelho2017-04-111-0/+8
|/
* Add remove_concurrent_index to database helperblackst0ne2017-04-061-0/+24
* Hash concurrent foreign key names similar to Railshash-concurrent-foreign-key-namesYorick Peterse2017-02-211-1/+10
* Add method for creating foreign keys concurrentlyYorick Peterse2017-02-101-1/+49
* Add support for column limits in add_column_with_defaultDrew Blessing2016-09-151-2/+8
* Disable statement timeout outside of transaction and during adding concurrent...Stan Hu2016-07-141-1/+3
* Disable PostgreSQL statement timeout during migrationsStan Hu2016-07-141-0/+8
* Fix update_column_in_batches to update all rowsYorick Peterse2016-06-171-23/+27
* Don't update columns in batches in a transactionYorick Peterse2016-06-151-4/+2
* Customizing of update_column_in_batches queriesYorick Peterse2016-06-151-41/+54
* Removed old comment from update_column_in_batchesfix-migration-helper-race-conditionsYorick Peterse2016-06-131-2/+0
* Update columns in batches until no rows are leftYorick Peterse2016-06-131-2/+5
* Handle NULL migration errors in migration helpersYorick Peterse2016-06-131-2/+2
* change add_concurrent_index function argumentsissue_3359Felipe Artur2016-06-061-7/+3
* Add index to notification settingsFelipe Artur2016-06-031-1/+5
* Extend comment for migrations helper MySQL fixGrzegorz Bizon2016-05-221-1/+8
* Add MySQL compatibility fix in migration helpersGrzegorz Bizon2016-05-221-1/+2
* Removed outdated comment from migration helpersfix-migration-helper-commentYorick Peterse2016-05-191-1/+1
* Remove left-over use of strip_heredocYorick Peterse2016-05-191-1/+1
* Removed stray strip_heredoc from migration helpersYorick Peterse2016-05-131-1/+1
* Fixed styling per Rubocop pedanticsYorick Peterse2016-05-121-1/+3
* Added helper methods for database migrationsYorick Peterse2016-05-121-0/+132