sneed
parent
546ed45435
commit
1eaf82fd6d
35
schema.sql
35
schema.sql
|
@ -246,17 +246,6 @@ CREATE SEQUENCE public.casino_games_id_seq
|
|||
ALTER SEQUENCE public.casino_games_id_seq OWNED BY public.casino_games.id;
|
||||
|
||||
|
||||
--
|
||||
-- Name: chat_leaves; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE TABLE public.chat_leaves (
|
||||
user_id integer NOT NULL,
|
||||
chat_id integer NOT NULL,
|
||||
created_utc integer NOT NULL
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: chat_memberships; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
|
@ -1495,14 +1484,6 @@ ALTER TABLE ONLY public.casino_games
|
|||
ADD CONSTRAINT casino_games_pkey PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: chat_leaves chat_leaves_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public.chat_leaves
|
||||
ADD CONSTRAINT chat_leaves_pkey PRIMARY KEY (user_id, chat_id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: chat_memberships chat_memberships_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
@ -2888,22 +2869,6 @@ ALTER TABLE ONLY public.casino_games
|
|||
ADD CONSTRAINT casino_games_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: chat_leaves chat_leaves_chat_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public.chat_leaves
|
||||
ADD CONSTRAINT chat_leaves_chat_fkey FOREIGN KEY (chat_id) REFERENCES public.chats(id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: chat_leaves chat_leaves_user_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public.chat_leaves
|
||||
ADD CONSTRAINT chat_leaves_user_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: chat_memberships chat_memberships_chat_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
|
Loading…
Reference in New Issue