Files
gitlabhq/lib/gitlab
Yorick Peterse 9c238dc970 Update columns in batches until no rows are left
Instead of updating a fixed number of rows (based on the amount of rows
available at the start of the update) the method
"update_column_in_batches" will now continue updating rows until it runs
out of rows to process.

For a table with a high rate of inserts this may result in the migration
taking quite some time. However, the alternative is not all rows being
updated or the "change_column_null" method raising an error due to there
being NULL values.
2016-06-13 11:38:57 +02:00
..
2016-06-06 17:40:26 +02:00
2016-06-03 17:08:44 +02:00
2016-05-31 19:33:46 -03:00
2015-11-30 18:36:34 +02:00
2015-12-15 00:53:52 -02:00
2014-09-29 12:05:17 +03:00
2016-06-12 21:05:58 -04:00
2015-11-18 13:31:18 +01:00
2014-10-06 00:14:46 +02:00
2016-06-06 17:40:26 +02:00
2016-06-01 12:10:08 +02:00
2015-02-24 15:07:24 +01:00
2016-04-13 13:12:05 +03:00
2014-10-06 00:14:46 +02:00
2016-05-20 15:58:36 -05:00
2016-04-28 21:28:39 +02:00
2015-09-08 20:23:01 -04:00
2014-10-31 17:22:16 -07:00
2016-05-26 13:58:01 +02:00
2014-10-06 00:14:46 +02:00
2015-03-24 18:35:57 -07:00
2014-10-06 00:14:46 +02:00
WIP
2016-05-08 22:50:30 +02:00
2016-06-03 10:37:09 -06:00
2014-10-06 00:14:46 +02:00
2015-08-26 11:30:38 -07:00
2016-05-23 09:11:21 +02:00
2016-03-10 12:37:14 +01:00
2013-06-06 10:10:51 +09:00