Sha256: 9bab8332ca5dab15f6473136f6114b9a1982685a05e32b33a4dfb069cd392fc5

Contents?: true

Size: 563 Bytes

Versions: 5

Compression:

Stored size: 563 Bytes

Contents

class TranslateProcesses < ActiveRecord::Migration[5.0]
  def change
    remove_column :decidim_participatory_processes, :title
    remove_column :decidim_participatory_processes, :subtitle
    remove_column :decidim_participatory_processes, :description
    remove_column :decidim_participatory_processes, :short_description

    change_table :decidim_participatory_processes do |t|
      t.hstore :title, null: false
      t.hstore :subtitle, null: false
      t.hstore :short_description, null: false
      t.hstore :description, null: false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-core-0.0.1.alpha9 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.0.1.alpha8 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.0.1.alpha7 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.0.1.alpha6 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.0.1.alpha5 db/migrate/20161010102356_translate_processes.rb