sneed
parent
1574b4da63
commit
0d0eed9d39
30
schema.sql
30
schema.sql
|
@ -167,7 +167,8 @@ CREATE TABLE public.award_relationships (
|
|||
comment_id integer,
|
||||
kind character varying(20) NOT NULL,
|
||||
awarded_utc integer,
|
||||
created_utc integer
|
||||
created_utc integer,
|
||||
price_paid integer DEFAULT 0 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
@ -435,6 +436,17 @@ CREATE TABLE public.commentvotes (
|
|||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: event_users; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE TABLE public.event_users (
|
||||
id integer NOT NULL,
|
||||
event_music boolean NOT NULL,
|
||||
event_darkmode boolean NOT NULL
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: exiles; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
|
@ -1278,6 +1290,14 @@ ALTER TABLE ONLY public.banneddomains
|
|||
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: -
|
||||
--
|
||||
|
@ -2300,6 +2320,14 @@ ALTER TABLE ONLY public.commentvotes
|
|||
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: -
|
||||
--
|
||||
|
|
Loading…
Reference in New Issue