Sha256: 6777833b5e8e72e455aba34cf051e1d7b4546c476f5badc2cee1ab21fbd29b1a
Contents?: true
Size: 247 Bytes
Versions: 106
Compression:
Stored size: 247 Bytes
Contents
class AddClazzIdToBusiness < ActiveRecord::Migration[5.2] def change add_column :educode_sales_businesses, :clazz_id, :integer EducodeSales::Business.all.each do |d| d.update(clazz_id: d.last_follow_up&.clazz_id) end end end
Version data entries
106 entries across 106 versions & 1 rubygems