a08c18eb81
1. Executing an `update_all` on a lot of records is slow. Instead we backfill the column in batches (without locking the table). 2. We can't mark the colum as not-null, because already running instances still using the old code will not use the service_name column yet. A later migration will backfill the remaining data and make the column non-null. |
||
---|---|---|
.. | ||
migrate | ||
schema.rb | ||
seeds.rb |