From 9943e887ceddd8472890949f599aa7803fe9ebb2 Mon Sep 17 00:00:00 2001 From: MikeIsAStar <99037623+MikeIsAStar@users.noreply.github.com> Date: Sun, 11 Aug 2024 21:10:10 -0400 Subject: [PATCH] Correct several issues within the database schema Special thanks to expiteRz for providing the fixes. Co-authored-by: expiteRz --- schema.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schema.sql b/schema.sql index 5bbc04c..5d99065 100644 --- a/schema.sql +++ b/schema.sql @@ -47,7 +47,7 @@ ALTER TABLE ONLY public.users ADD IF NOT EXISTS ban_reason character varying, ADD IF NOT EXISTS ban_reason_hidden character varying, ADD IF NOT EXISTS ban_moderator character varying, - ADD IF NOT EXISTS ban_tos boolean + ADD IF NOT EXISTS ban_tos boolean; ALTER TABLE public.users OWNER TO wiilink; @@ -83,7 +83,7 @@ ALTER TABLE ONLY public.users ALTER COLUMN profile_id SET DEFAULT nextval('publi -- Set the profile_id start point to 1'000'000'000 -- -ALTER SEQUENCE users_profile_id_seq RESTART WITH 1000000000; +ALTER SEQUENCE public.users_profile_id_seq RESTART WITH 1000000000; -- -- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: wiilink