summaryrefslogtreecommitdiff
path: root/lib/gitlab/database/migration_helpers.rb
Commit message (Expand)AuthorAgeFilesLines
* Reduce UPDATEs for background column type changesbackground-migration-fixYorick Peterse2018-01-181-2/+3
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
* Run background migrations with a minimum intervaldelay-background-migrationsYorick Peterse2018-01-051-0/+6
* Use a background migration for issues.closed_atchange-issues-closed-at-background-migrationYorick Peterse2018-01-031-10/+111
* Consistently schedule Sidekiq jobsdm-application-workerDouwe Maan2017-12-051-2/+2
* Add computed update docs for update_column_in_batchesSean McGivern2017-11-171-0/+9
* Spread out the work a littleMichael Kozono2017-09-141-3/+43
* Extract helper for queuing background jobsMichael Kozono2017-09-141-0/+48
* Improve migrations using triggerscheck-trigger-permissions-mysqlYorick Peterse2017-08-291-4/+32
* Fix invalid default argument in migration helpersGrzegorz Bizon2017-08-231-1/+1
* Add Sidekiq migration helpers for migrating queuesGrzegorz Bizon2017-08-221-0/+14
* Fix Error 500s when attempting to destroy a protected tagStan Hu2017-08-201-0/+5
* Add a foreign key to `merge_requests.head_pipeline_id`Grzegorz Bizon2017-07-181-1/+3
* 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