sneed
parent
c3a5418d3a
commit
93aa16d535
33
schema.sql
33
schema.sql
|
@ -436,16 +436,6 @@ CREATE TABLE public.commentvotes (
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: event_users; Type: TABLE; Schema: public; Owner: -
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE TABLE public.event_users (
|
|
||||||
id integer NOT NULL,
|
|
||||||
event_darkmode boolean NOT NULL
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: exiles; Type: TABLE; Schema: public; Owner: -
|
-- Name: exiles; Type: TABLE; Schema: public; Owner: -
|
||||||
--
|
--
|
||||||
|
@ -997,6 +987,7 @@ CREATE TABLE public.users (
|
||||||
verified character varying(100),
|
verified character varying(100),
|
||||||
cardview boolean NOT NULL,
|
cardview boolean NOT NULL,
|
||||||
received_award_count integer DEFAULT 0 NOT NULL,
|
received_award_count integer DEFAULT 0 NOT NULL,
|
||||||
|
highlightcomments boolean DEFAULT true NOT NULL,
|
||||||
nitter boolean,
|
nitter boolean,
|
||||||
truescore integer DEFAULT 0 NOT NULL,
|
truescore integer DEFAULT 0 NOT NULL,
|
||||||
frontsize integer DEFAULT 25 NOT NULL,
|
frontsize integer DEFAULT 25 NOT NULL,
|
||||||
|
@ -1041,8 +1032,9 @@ CREATE TABLE public.users (
|
||||||
profanityreplacer integer DEFAULT 1 NOT NULL,
|
profanityreplacer integer DEFAULT 1 NOT NULL,
|
||||||
last_viewed_reddit_notifs integer NOT NULL,
|
last_viewed_reddit_notifs integer NOT NULL,
|
||||||
profile_background character varying(30),
|
profile_background character varying(30),
|
||||||
event_music boolean NOT NULL,
|
event_music boolean,
|
||||||
chudded_by integer
|
chudded_by integer,
|
||||||
|
event_darkmode boolean
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -1290,14 +1282,6 @@ ALTER TABLE ONLY public.banneddomains
|
||||||
ADD CONSTRAINT domain_pkey PRIMARY KEY (domain);
|
ADD CONSTRAINT domain_pkey PRIMARY KEY (domain);
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: event_users event_users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
||||||
--
|
|
||||||
|
|
||||||
ALTER TABLE ONLY public.event_users
|
|
||||||
ADD CONSTRAINT event_users_pkey PRIMARY KEY (id);
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: exiles exiles_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
-- Name: exiles exiles_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||||
--
|
--
|
||||||
|
@ -2334,14 +2318,6 @@ ALTER TABLE ONLY public.commentvotes
|
||||||
ADD CONSTRAINT commentvote_user_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);
|
ADD CONSTRAINT commentvote_user_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: event_users event_users_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
|
|
||||||
--
|
|
||||||
|
|
||||||
ALTER TABLE ONLY public.event_users
|
|
||||||
ADD CONSTRAINT event_users_id_fkey FOREIGN KEY (id) REFERENCES public.users(id);
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: exiles exile_exiler_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
|
-- Name: exiles exile_exiler_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
|
||||||
--
|
--
|
||||||
|
@ -2817,3 +2793,4 @@ ALTER TABLE ONLY public.comments
|
||||||
--
|
--
|
||||||
-- PostgreSQL database dump complete
|
-- PostgreSQL database dump complete
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue