B2B-30: fix conflicts
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
alter table public.accounts
|
||||
add column if not exists personal_code char(11) unique;
|
||||
ALTER TABLE public.accounts
|
||||
ADD CONSTRAINT accounts_personal_code_unique UNIQUE (personal_code);
|
||||
|
||||
alter table public.invitations
|
||||
add column if not exists personal_code char(11) unique;
|
||||
ALTER TABLE public.invitations
|
||||
ALTER COLUMN personal_code TYPE text;
|
||||
|
||||
ALTER TABLE public.invitations
|
||||
ADD CONSTRAINT invitations_personal_code_unique UNIQUE (personal_code);
|
||||
@@ -62,7 +62,7 @@ returns table (
|
||||
created_at timestamptz,
|
||||
updated_at timestamptz,
|
||||
expires_at timestamptz,
|
||||
personal_code char(11),
|
||||
personal_code text,
|
||||
inviter_name varchar,
|
||||
inviter_email varchar
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user