From 4a1da0380a5158f160e6609c7a2b83b657acade9 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 14 Sep 2022 10:29:44 +0200 Subject: [PATCH] end sql files with a line feed --- seed-db.sql | 2 +- sql/20220702-poll-rework.sql | 2 +- sql/20220831-casino-feature.sql | 2 +- sql/20220903-hats.sql | 2 +- sql/20220909-marsey-submissin-ui.sql | 2 +- sql/20220910-hat-submissin-ui.sql | 2 +- sql/20220910-notify-followers.sql | 2 +- sql/20220911-add-roulette.sql | 2 +- sql/20220913-transactions.sql | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/seed-db.sql b/seed-db.sql index a6bfc22b1..71698c129 100644 --- a/seed-db.sql +++ b/seed-db.sql @@ -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), ('Engineer', 'Choo choo!', 2, 500), ('Vexillaurius Helmet', 'Degenerates like you belong on rDrama', 2, 500), -('Astronaut Helmet', 'See you, space marsey', 2, 500); \ No newline at end of file +('Astronaut Helmet', 'See you, space marsey', 2, 500); diff --git a/sql/20220702-poll-rework.sql b/sql/20220702-poll-rework.sql index 789638dc7..fb7524cd0 100644 --- a/sql/20220702-poll-rework.sql +++ b/sql/20220702-poll-rework.sql @@ -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; ALTER TABLE ONLY public.comment_option_votes - ADD CONSTRAINT vote_comment_fkey FOREIGN KEY (comment_id) REFERENCES public.comments(id) MATCH FULL; \ No newline at end of file + ADD CONSTRAINT vote_comment_fkey FOREIGN KEY (comment_id) REFERENCES public.comments(id) MATCH FULL; diff --git a/sql/20220831-casino-feature.sql b/sql/20220831-casino-feature.sql index 4b2882661..f3dfd87cd 100644 --- a/sql/20220831-casino-feature.sql +++ b/sql/20220831-casino-feature.sql @@ -12,4 +12,4 @@ CREATE TABLE casino_games ( winnings integer NOT NULL, kind casino_game_kind NOT NULL, game_state jsonb NOT NULL -); \ No newline at end of file +); diff --git a/sql/20220903-hats.sql b/sql/20220903-hats.sql index 84cea7a16..895305f6f 100644 --- a/sql/20220903-hats.sql +++ b/sql/20220903-hats.sql @@ -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), ('Engineer', 'Choo choo!', 2, 500), ('Vexillaurius Helmet', 'Degenerates like you belong on rDrama', 2, 500), -('Astronaut Helmet', 'See you, space marsey', 2, 500); \ No newline at end of file +('Astronaut Helmet', 'See you, space marsey', 2, 500); diff --git a/sql/20220909-marsey-submissin-ui.sql b/sql/20220909-marsey-submissin-ui.sql index 50ea9b715..7321779aa 100644 --- a/sql/20220909-marsey-submissin-ui.sql +++ b/sql/20220909-marsey-submissin-ui.sql @@ -3,4 +3,4 @@ alter table marseys add column submitter_id int; ALTER TABLE ONLY public.marseys ADD CONSTRAINT marsey_submitter_fkey FOREIGN KEY (submitter_id) REFERENCES public.users(id); -CREATE INDEX marseys_idx4 ON public.marseys USING btree (submitter_id); \ No newline at end of file +CREATE INDEX marseys_idx4 ON public.marseys USING btree (submitter_id); diff --git a/sql/20220910-hat-submissin-ui.sql b/sql/20220910-hat-submissin-ui.sql index d40bfbb18..6d6507924 100644 --- a/sql/20220910-hat-submissin-ui.sql +++ b/sql/20220910-hat-submissin-ui.sql @@ -3,4 +3,4 @@ alter table hat_defs add column submitter_id int; ALTER TABLE ONLY public.hat_defs 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); \ No newline at end of file +CREATE INDEX hat_defs_submitter_id_idx ON public.hat_defs USING btree (submitter_id); diff --git a/sql/20220910-notify-followers.sql b/sql/20220910-notify-followers.sql index d47c0fe84..908a72169 100644 --- a/sql/20220910-notify-followers.sql +++ b/sql/20220910-notify-followers.sql @@ -1,2 +1,2 @@ alter table submissions add column notify bool not null default true; -alter table submissions alter column notify drop default; \ No newline at end of file +alter table submissions alter column notify drop default; diff --git a/sql/20220911-add-roulette.sql b/sql/20220911-add-roulette.sql index 154f61459..a7f49f11c 100644 --- a/sql/20220911-add-roulette.sql +++ b/sql/20220911-add-roulette.sql @@ -1 +1 @@ -ALTER TYPE casino_game_kind ADD VALUE 'roulette'; \ No newline at end of file +ALTER TYPE casino_game_kind ADD VALUE 'roulette'; diff --git a/sql/20220913-transactions.sql b/sql/20220913-transactions.sql index f88768796..927e99144 100644 --- a/sql/20220913-transactions.sql +++ b/sql/20220913-transactions.sql @@ -6,4 +6,4 @@ CREATE TABLE public.transactions ( email character varying(255) NOT NULL ); -CREATE INDEX transactions_email_idx ON public.transactions USING btree (email); \ No newline at end of file +CREATE INDEX transactions_email_idx ON public.transactions USING btree (email);