Sha256: 2a73fd89a2144c58945387a21ade69da72a08c74298177a6068653deddac05ef

Contents?: true

Size: 305 Bytes

Versions: 134

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

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

134 entries across 134 versions & 2 rubygems

Version Path
decidim-core-0.20.1 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.20.0 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.19.1 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.18.1 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.19.0 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.17.2 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.18.0 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.17.1 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.16.1 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.17.0 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.16.0 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.15.2 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.15.1 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.15.0 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.14.4 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.14.3 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.14.2 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.14.1 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.13.1 db/migrate/20161130105257_create_decidim_scopes.rb
decidim-core-0.12.2 db/migrate/20161130105257_create_decidim_scopes.rb