summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/database/migration_helpers_spec.rb
Commit message (Expand)AuthorAgeFilesLines
* Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_time...32054-rails-should-use-timestamptz-database-type-for-postgresqlblackst0ne2017-06-131-1/+36
* Only use DROP INDEX CONCURRENTLY on postgreql 9.2+Nick Thomas2017-05-251-2/+9
* Make sure that Arel.sql would work for update_column_in_batchestest-update_column_in_batches-with-sql-mysqlLin Jen-Shin2017-05-231-0/+8
* Disallow NULL on renamed column after default has been setDouwe Maan2017-05-151-2/+4
* Fix adding defaults for concurrent column renamesrename-column-concurrently-defaultsYorick Peterse2017-05-121-2/+6
* Move `replace_sql` into `Database::MigrationHelpers`Bob Van Landuyt2017-05-011-0/+33
* Merge branch 'zero-downtime-migrations' into 'master' Douwe Maan2017-04-121-0/+388
|\
| * Prepare for zero downtime migrationszero-downtime-migrationsYorick Peterse2017-04-121-0/+388
* | removes redundant code from database.rb29056-backport-ee-cleanup-database-fileTiago Botelho2017-04-111-0/+44
|/
* Add remove_concurrent_index to database helperblackst0ne2017-04-061-0/+42
* Hash concurrent foreign key names similar to Railshash-concurrent-foreign-key-namesYorick Peterse2017-02-211-0/+10
* Add method for creating foreign keys concurrentlyYorick Peterse2017-02-101-6/+70
* fixDrew Blessing2016-09-151-8/+3
* Add support for column limits in add_column_with_defaultDrew Blessing2016-09-151-42/+64
* Fix spec Don't attempt to disable statement timeout on a MySQL DBdisable-statement-timeoutStan Hu2016-07-141-0/+4
* Don't update columns in batches in a transactionYorick Peterse2016-06-151-1/+1
* Customizing of update_column_in_batches queriesYorick Peterse2016-06-151-0/+12
* Handle NULL migration errors in migration helpersYorick Peterse2016-06-131-0/+13
* change add_concurrent_index function argumentsissue_3359Felipe Artur2016-06-061-3/+10
* Add specs for migration helpers and boolean valuesGrzegorz Bizon2016-05-221-0/+6
* Test migration helpers using a migration classGrzegorz Bizon2016-05-221-7/+5
* Fixed styling per Rubocop pedanticsYorick Peterse2016-05-121-4/+4
* Added helper methods for database migrationsYorick Peterse2016-05-121-0/+124