style(sql): make migrations more greppable

This commit is contained in:
Michael Gaffney committed 2022-08-08 18:17:57 -04:00
1 parent 02dd28f587
commit ac6f14a37f
77 files changed
+553 -1458

No files matched your search

@@ -21,9 +21,7 @@ insert into auth_token_status_enm(name)
-- add the state column with a default to the auth_token table.
alter table auth_token
add column status text
not null
default 'token issued' -- safest default
add column status text not null default 'token issued' -- safest default
references auth_token_status_enm(name)
on update cascade
on delete restrict;
@@ -45,4 +43,4 @@ create or replace view auth_token_account as
inner join auth_account as aa
on at.auth_account_id = aa.public_id;
commit;
commit;