Sha256: d4c2410f097057d7f446e39b5af61fd21ff58af2b9234f8fe77764413b0ee1cd

Contents?: true

Size: 274 Bytes

Versions: 9

Compression:

Stored size: 274 Bytes

Contents

class CreateDecidimScopes < ActiveRecord::Migration[5.0]
  def change
    create_table :decidim_scopes do |t|
      t.string :name, null: false, index: :uniqueness
      t.references :decidim_organization, foreign_key: true, index: true
      t.timestamps
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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