Sha256: 4957bf005e985dba14344a725b098481e80fb31450ebd29cf17e2a16e668f061

Contents?: true

Size: 358 Bytes

Versions: 134

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

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

134 entries across 134 versions & 2 rubygems

Version Path
decidim-core-0.13.0 db/migrate/20170116110851_create_identities.rb
decidim-core-0.12.1 db/migrate/20170116110851_create_identities.rb
decidim-core-0.13.0.pre1 db/migrate/20170116110851_create_identities.rb
decidim-core-0.12.0 db/migrate/20170116110851_create_identities.rb
decidim-core-0.11.2 db/migrate/20170116110851_create_identities.rb
decidim-core-0.12.0.pre db/migrate/20170116110851_create_identities.rb
decidim-core-0.11.1 db/migrate/20170116110851_create_identities.rb
decidim-core-0.11.0.pre1 db/migrate/20170116110851_create_identities.rb
decidim-core-0.10.1 db/migrate/20170116110851_create_identities.rb
decidim-core-0.10.0 db/migrate/20170116110851_create_identities.rb
decidim-core-0.9.3 db/migrate/20170116110851_create_identities.rb
decidim-core-0.9.2 db/migrate/20170116110851_create_identities.rb
decidim-core-0.9.1 db/migrate/20170116110851_create_identities.rb
decidim-core-0.9.0 db/migrate/20170116110851_create_identities.rb
decidim-core-0.8.4 db/migrate/20170116110851_create_identities.rb
decidim-core-0.8.3 db/migrate/20170116110851_create_identities.rb
decidim-core-0.8.2 db/migrate/20170116110851_create_identities.rb
decidim-core-0.8.1 db/migrate/20170116110851_create_identities.rb
decidim-core-0.8.0 db/migrate/20170116110851_create_identities.rb
decidim-core-0.7.4 db/migrate/20170116110851_create_identities.rb