Sha256: 10b1748f0bd88ac64cfe742a912bbe88e5bcd719ab2c76e2891441f8eb2a7e27

Contents?: true

Size: 360 Bytes

Versions: 90

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true

class CreateDecidimAreas < ActiveRecord::Migration[5.1]
  def change
    create_table :decidim_areas do |t|
      t.jsonb :name
      t.references :area_type, foreign_key: { to_table: :decidim_area_types }, index: true
      t.references :decidim_organization, foreign_key: true, index: true
      t.timestamps
    end
  end
end

Version data entries

90 entries across 90 versions & 1 rubygems

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