Commit 4e18f384 authored by theworldbright's avatar theworldbright

Remove GUID as primary key in ppid table

parent 21175e7e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment