forked from rDrama/rDrama
1
0
Fork 0

end sql files with a line feed

master
Aevann1 2022-09-14 10:29:44 +02:00
parent 65d396a499
commit 4a1da0380a
9 changed files with 9 additions and 9 deletions

View File

@ -1668,4 +1668,4 @@ insert into hat_defs (name, description, author_id, price) values
('Family Man Free Hat', 'It''s a good show!', 2, 500), ('Family Man Free Hat', 'It''s a good show!', 2, 500),
('Engineer', 'Choo choo!', 2, 500), ('Engineer', 'Choo choo!', 2, 500),
('Vexillaurius Helmet', 'Degenerates like you belong on rDrama', 2, 500), ('Vexillaurius Helmet', 'Degenerates like you belong on rDrama', 2, 500),
('Astronaut Helmet', 'See you, space marsey', 2, 500); ('Astronaut Helmet', 'See you, space marsey', 2, 500);

View File

@ -106,4 +106,4 @@ ALTER TABLE ONLY public.comment_option_votes
ADD CONSTRAINT vote_user_fkey FOREIGN KEY (user_id) REFERENCES public.users(id) MATCH FULL; ADD CONSTRAINT vote_user_fkey FOREIGN KEY (user_id) REFERENCES public.users(id) MATCH FULL;
ALTER TABLE ONLY public.comment_option_votes ALTER TABLE ONLY public.comment_option_votes
ADD CONSTRAINT vote_comment_fkey FOREIGN KEY (comment_id) REFERENCES public.comments(id) MATCH FULL; ADD CONSTRAINT vote_comment_fkey FOREIGN KEY (comment_id) REFERENCES public.comments(id) MATCH FULL;

View File

@ -12,4 +12,4 @@ CREATE TABLE casino_games (
winnings integer NOT NULL, winnings integer NOT NULL,
kind casino_game_kind NOT NULL, kind casino_game_kind NOT NULL,
game_state jsonb NOT NULL game_state jsonb NOT NULL
); );

View File

@ -246,4 +246,4 @@ insert into hat_defs (name, description, author_id, price) values
('Family Man Free Hat', 'It''s a good show!', 2, 500), ('Family Man Free Hat', 'It''s a good show!', 2, 500),
('Engineer', 'Choo choo!', 2, 500), ('Engineer', 'Choo choo!', 2, 500),
('Vexillaurius Helmet', 'Degenerates like you belong on rDrama', 2, 500), ('Vexillaurius Helmet', 'Degenerates like you belong on rDrama', 2, 500),
('Astronaut Helmet', 'See you, space marsey', 2, 500); ('Astronaut Helmet', 'See you, space marsey', 2, 500);

View File

@ -3,4 +3,4 @@ alter table marseys add column submitter_id int;
ALTER TABLE ONLY public.marseys ALTER TABLE ONLY public.marseys
ADD CONSTRAINT marsey_submitter_fkey FOREIGN KEY (submitter_id) REFERENCES public.users(id); ADD CONSTRAINT marsey_submitter_fkey FOREIGN KEY (submitter_id) REFERENCES public.users(id);
CREATE INDEX marseys_idx4 ON public.marseys USING btree (submitter_id); CREATE INDEX marseys_idx4 ON public.marseys USING btree (submitter_id);

View File

@ -3,4 +3,4 @@ alter table hat_defs add column submitter_id int;
ALTER TABLE ONLY public.hat_defs ALTER TABLE ONLY public.hat_defs
ADD CONSTRAINT hat_def_submitter_fkey FOREIGN KEY (submitter_id) REFERENCES public.users(id); ADD CONSTRAINT hat_def_submitter_fkey FOREIGN KEY (submitter_id) REFERENCES public.users(id);
CREATE INDEX hat_defs_submitter_id_idx ON public.hat_defs USING btree (submitter_id); CREATE INDEX hat_defs_submitter_id_idx ON public.hat_defs USING btree (submitter_id);

View File

@ -1,2 +1,2 @@
alter table submissions add column notify bool not null default true; alter table submissions add column notify bool not null default true;
alter table submissions alter column notify drop default; alter table submissions alter column notify drop default;

View File

@ -1 +1 @@
ALTER TYPE casino_game_kind ADD VALUE 'roulette'; ALTER TYPE casino_game_kind ADD VALUE 'roulette';

View File

@ -6,4 +6,4 @@ CREATE TABLE public.transactions (
email character varying(255) NOT NULL email character varying(255) NOT NULL
); );
CREATE INDEX transactions_email_idx ON public.transactions USING btree (email); CREATE INDEX transactions_email_idx ON public.transactions USING btree (email);