Sha256: e8290aae5f11570877df0c41b88d23e4ad10abad7a919139af1284b820fe034d

Contents?: true

Size: 559 Bytes

Versions: 9

Compression:

Stored size: 559 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.jsonb :title, null: false
      t.jsonb :subtitle, null: false
      t.jsonb :short_description, null: false
      t.jsonb :description, null: false
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-core-0.2.0 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.1.0 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.0.8.1 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.0.7 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.0.6 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.0.5 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.0.3 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.0.2 db/migrate/20161010102356_translate_processes.rb
decidim-core-0.0.1 db/migrate/20161010102356_translate_processes.rb