align pk name with the rest of the schema and add scope id

jimlambrt-auth-additions
Jim Lambert 6 years ago
parent 0a0d37668d
commit eb79c0156a

@ -2,16 +2,17 @@ begin;
-- base table for auth methods
create table auth_method (
auth_method_id wt_public_id primary key
public_id wt_public_id primary key,
scope_id wt_public_id not null
);
-- base table for auth accounts
create table auth_account (
auth_account_id wt_public_id primary key
public_id wt_public_id primary key,
scope_id wt_public_id not null
);
create or replace function
insert_auth_method_subtype()
returns trigger

Loading…
Cancel
Save