Remove GUID as primary key in ppid table
This commit is contained in:
parent
21175e7eee
commit
4e18f3849d
2 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ class CreatePairwisePseudonymousIdentifiers < ActiveRecord::Migration
|
|||
t.belongs_to :o_auth_application, index: true
|
||||
t.belongs_to :user, index: true
|
||||
|
||||
t.primary_key :guid, :string, limit: 32
|
||||
t.string :guid, :string, limit: 32
|
||||
t.string :sector_identifier
|
||||
end
|
||||
add_foreign_key :ppid, :o_auth_applications
|
||||
|
|
@ -465,6 +465,7 @@ ActiveRecord::Schema.define(version: 20150828132451) do
|
|||
t.integer "o_auth_application_id", limit: 4
|
||||
t.integer "user_id", limit: 4
|
||||
t.string "guid", limit: 32
|
||||
t.string "string", limit: 32
|
||||
t.string "sector_identifier", limit: 255
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue