Sha256: 3acebb82d0c8e69fd89a36a9013d67aab7a144c8dd26163d5d383c46f53467e3

Contents?: true

Size: 331 Bytes

Versions: 88

Compression:

Stored size: 331 Bytes

Contents

# frozen_string_literal: true

class CreateInitiativeExtraData < ActiveRecord::Migration[5.1]
  def change
    create_table :decidim_initiatives_extra_data do |t|
      t.references :decidim_initiative, null: false, index: true
      t.integer :data_type, null: false, default: 0
      t.jsonb :data, null: false
    end
  end
end

Version data entries

88 entries across 88 versions & 1 rubygems

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