From c2ecf2296a8f3d7832aebf293236e459c2240624 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 26 Jun 2023 17:45:09 +0300 Subject: [PATCH] fix missing sql commands in last commit --- migrations/20230625-add-sharpen-award.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/migrations/20230625-add-sharpen-award.sql b/migrations/20230625-add-sharpen-award.sql index 5081da601..1b4a545c0 100644 --- a/migrations/20230625-add-sharpen-award.sql +++ b/migrations/20230625-add-sharpen-award.sql @@ -1 +1,3 @@ -alter table users add column sharpen integer; \ No newline at end of file +alter table users add column sharpen integer default 0; +alter table users alter column sharpen drop default; +CREATE INDEX users_edgified_idx ON public.users USING btree (sharpen);