From 4231c442695a4ac16935be43daf9135cc3f92302 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 5 Sep 2022 04:00:04 +0000 Subject: [PATCH] sneed --- schema.sql | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/schema.sql b/schema.sql index 4cab234c3..fe573b7a4 100644 --- a/schema.sql +++ b/schema.sql @@ -527,7 +527,8 @@ ALTER SEQUENCE public.hat_defs_id_seq OWNED BY public.hat_defs.id; CREATE TABLE public.hats ( hat_id integer NOT NULL, - user_id integer NOT NULL + user_id integer NOT NULL, + equipped boolean ); @@ -964,8 +965,7 @@ CREATE TABLE public.users ( owoify integer, marsify integer, is_muted boolean DEFAULT false NOT NULL, - coins_spent_on_hats integer DEFAULT 0 NOT NULL, - equipped_hat_id integer + coins_spent_on_hats integer DEFAULT 0 NOT NULL ); @@ -2457,14 +2457,6 @@ ALTER TABLE ONLY public.users ADD CONSTRAINT user_referrer_fkey FOREIGN KEY (referred_by) REFERENCES public.users(id); --- --- Name: users users_equipped_hat_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.users - ADD CONSTRAINT users_equipped_hat_id_fkey FOREIGN KEY (equipped_hat_id) REFERENCES public.hat_defs(id); - - -- -- Name: viewers view_user_fkey; Type: FK CONSTRAINT; Schema: public; Owner: - --