Sha256: bdc417cbdfea2cff4c7f34f1d0f7d098ff021f919d4989161cd4ca92d2a7c087
Contents?: true
Size: 302 Bytes
Versions: 48
Compression:
Stored size: 302 Bytes
Contents
# frozen_string_literal: true class AddReferenceToProposals < ActiveRecord::Migration[5.0] def change add_column :decidim_proposals_proposals, :reference, :string Decidim::Proposals::Proposal.find_each(&:save) change_column_null :decidim_proposals_proposals, :reference, false end end
Version data entries
48 entries across 48 versions & 2 rubygems