From 46b82d1262268955130e18708351835834f74303 Mon Sep 17 00:00:00 2001 From: Palapeli <26661008+mkwcat@users.noreply.github.com> Date: Sat, 1 Mar 2025 00:52:41 -0500 Subject: [PATCH] Add open_host field to schema --- schema.sql | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/schema.sql b/schema.sql index ec36213..0796d88 100644 --- a/schema.sql +++ b/schema.sql @@ -47,7 +47,8 @@ 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, + ADD IF NOT EXISTS open_host boolean DEFAULT false; ALTER TABLE public.users OWNER TO wiilink; @@ -102,12 +103,6 @@ ALTER SEQUENCE public.users_profile_id_seq OWNED BY public.users.profile_id; ALTER TABLE ONLY public.users ALTER COLUMN profile_id SET DEFAULT nextval('public.users_profile_id_seq'::regclass); --- --- Set the profile_id start point to 1'000'000'000 --- - -ALTER SEQUENCE public.users_profile_id_seq RESTART WITH 1000000000; - -- -- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: wiilink --