Sha256: beecb8e0d17241ef4dabe175486837fb40e93a9bc388766ce895d200a9219400

Contents?: true

Size: 327 Bytes

Versions: 8

Compression:

Stored size: 327 Bytes

Contents

class CreateIdentities < ActiveRecord::Migration[5.0]
  def change
    create_table :decidim_identities do |t|
      t.string :provider, null: false
      t.string :uid, null: false
      t.references :decidim_user, null: false, index: true
    end

    add_index :decidim_identities, [:provider, :uid], unique: true
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-core-0.2.0 db/migrate/20170116110851_create_identities.rb
decidim-core-0.1.0 db/migrate/20170116110851_create_identities.rb
decidim-core-0.0.8.1 db/migrate/20170116110851_create_identities.rb
decidim-core-0.0.7 db/migrate/20170116110851_create_identities.rb
decidim-core-0.0.6 db/migrate/20170116110851_create_identities.rb
decidim-core-0.0.5 db/migrate/20170116110851_create_identities.rb
decidim-core-0.0.3 db/migrate/20170116110851_create_identities.rb
decidim-core-0.0.2 db/migrate/20170116110851_create_identities.rb