This commit is contained in:
Orion Kindel 2023-07-15 22:54:08 -04:00
parent 0c4f3a2e5a
commit 90e5c3bc10
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719
2 changed files with 18 additions and 18 deletions

View File

@ -88,32 +88,32 @@ CREATE OR REPLACE FUNCTION human_uuid.huid_to_string(val human_uuid.huid)
AS $function$select (val.str);$function$
;
alter table "public"."community" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."community" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."community" alter column "uid" set default human_uuid.huid();
alter table "public"."grp" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."grp" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."grp" alter column "uid" set default human_uuid.huid();
alter table "public"."perm" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."perm" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."perm" alter column "uid" set default human_uuid.huid();
alter table "public"."thread" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."thread" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."thread" alter column "uid" set default human_uuid.huid();
alter table "public"."thread_attachment" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."thread_attachment" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."thread_attachment" alter column "uid" set default human_uuid.huid();
alter table "public"."thread_attachment_emoji" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."thread_attachment_emoji" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."thread_attachment_emoji" alter column "uid" set default human_uuid.huid();
alter table "public"."thread_attachment_vote" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."thread_attachment_vote" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."thread_attachment_vote" alter column "uid" set default human_uuid.huid();
alter table "public"."thread_feed" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."thread_feed" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."thread_feed" alter column "uid" set default human_uuid.huid();
alter table "public"."usr" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."usr" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."usr" alter column "uid" set default human_uuid.huid();
CREATE UNIQUE INDEX object_pkey ON human_uuid.object USING btree (id);

View File

@ -88,31 +88,31 @@ AS $function$select (val.str);$function$
;
alter table "public"."community" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."community" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."community" alter column "uid" set default human_uuid.huid();
alter table "public"."grp" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."grp" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."grp" alter column "uid" set default human_uuid.huid();
alter table "public"."perm" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."perm" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."perm" alter column "uid" set default human_uuid.huid();
alter table "public"."thread" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."thread" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."thread" alter column "uid" set default human_uuid.huid();
alter table "public"."thread_attachment" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."thread_attachment" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."thread_attachment" alter column "uid" set default human_uuid.huid();
alter table "public"."thread_attachment_emoji" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."thread_attachment_emoji" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."thread_attachment_emoji" alter column "uid" set default human_uuid.huid();
alter table "public"."thread_attachment_vote" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."thread_attachment_vote" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."thread_attachment_vote" alter column "uid" set default human_uuid.huid();
alter table "public"."thread_feed" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."thread_feed" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."thread_feed" alter column "uid" set default human_uuid.huid();
alter table "public"."usr" alter column "uid" set data type human_uuid.huid using "uid"::human_uuid.huid;
alter table "public"."usr" alter column "uid" set data type human_uuid.huid using human_uuid.huid();
alter table "public"."usr" alter column "uid" set default human_uuid.huid();
CREATE UNIQUE INDEX object_pkey ON human_uuid.object USING btree (id);