Sha256: 52f1c7227a569636016a94b20e00236adf6743588f25445ec777dc391f249669

Contents?: true

Size: 344 Bytes

Versions: 88

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

class RemoveUnusedAttributesFromInitiative < ActiveRecord::Migration[5.1]
  def change
    remove_column :decidim_initiatives, :banner_image, :string
    remove_column :decidim_initiatives, :decidim_scope_id, :integer, index: true
    remove_column :decidim_initiatives, :type_id, :integer, index: true
  end
end

Version data entries

88 entries across 88 versions & 1 rubygems

Version Path
decidim-initiatives-0.29.1 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.28.4 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.27.9 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.29.0 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.28.3 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.27.8 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.29.0.rc4 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.29.0.rc3 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.29.0.rc2 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.29.0.rc1 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.28.2 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.27.7 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.28.1 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.27.6 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.26.10 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.26.9 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.28.0 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.27.5 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.28.0.rc5 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb
decidim-initiatives-0.28.0.rc4 db/migrate/20171017103029_remove_unused_attributes_from_initiative.rb