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);