From 974f1c7766058f3ad91893e7769ba1d8fb6b58c0 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 23 Jun 2023 17:26:29 +0300 Subject: [PATCH] switch to tabs --- .../20230623-rename-submissions-to-posts.sql | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/migrations/20230623-rename-submissions-to-posts.sql b/migrations/20230623-rename-submissions-to-posts.sql index c06278393..75d88df3f 100644 --- a/migrations/20230623-rename-submissions-to-posts.sql +++ b/migrations/20230623-rename-submissions-to-posts.sql @@ -18,11 +18,11 @@ alter table votes rename constraint vote_submission_key to vote_post_key; drop function bump_utc; CREATE FUNCTION public.bump_utc(public.posts) RETURNS integer - LANGUAGE sql IMMUTABLE STRICT - AS $_$ - SELECT CREATED_UTC - FROM comments - WHERE parent_post = $1.id - ORDER BY created_utc desc - LIMIT 1 - $_$; + LANGUAGE sql IMMUTABLE STRICT + AS $_$ + SELECT CREATED_UTC + FROM comments + WHERE parent_post = $1.id + ORDER BY created_utc desc + LIMIT 1 + $_$;