Sha256: 96b27a8be19b3358be7a669b392187cf9d52596fd0a811859b937a2a4bbf1da6
Contents?: true
Size: 257 Bytes
Versions: 10
Compression:
Stored size: 257 Bytes
Contents
class AddReferenceToResults < ActiveRecord::Migration[5.0] def change add_column :decidim_results_results, :reference, :string Decidim::Results::Result.find_each(&:save) change_column_null :decidim_results_results, :reference, false end end
Version data entries
10 entries across 10 versions & 2 rubygems