fixes from video (#235)

This commit is contained in:
Michael Quigley
2023-04-05 13:57:22 -04:00
parent e3338f5981
commit c8313d12b7
3 changed files with 14 additions and 8 deletions

View File

@ -14,7 +14,7 @@ create table frontends (
reserved boolean not null default(false),
created_at timestamptz not null default(current_timestamp),
updated_at timestamptz not null default(current_timestamp),
deleted boolean not null default(false),
deleted boolean not null default(false)
);
insert into frontends (id, environment_id, token, z_id, url_template, public_name, reserved, created_at, updated_at, deleted)
@ -25,7 +25,7 @@ select setval('frontends_id_seq', (select max(id) from frontends));
drop table frontends_old;
alter index frontends_pkey1 rename to frontends_pkey;
alter index frontends_public_name_key1 to frontends_public_name_key;
alter index frontends_token_key1 to frontends_token_key;
alter index frontends_public_name_key1 rename to frontends_public_name_key;
alter index frontends_token_key1 rename to frontends_token_key;
alter table frontends rename constraint frontends_environment_id_fkey1 to frontends_environment_id_fkey;