Skip to content

Commit

Permalink
chore: update SQL migration to drop the old users_by_storage_used f…
Browse files Browse the repository at this point in the history
…unction before replacing (#1414)
  • Loading branch information
adamalton authored Jun 7, 2022
1 parent 8291115 commit 6ddfdf3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
-- Due to the parameters differing from the old function definition, if we don't drop the old one then it's not replaced.
DROP FUNCTION IF EXISTS users_by_storage_used;

CREATE OR REPLACE FUNCTION users_by_storage_used(
from_percent INTEGER,
to_percent INTEGER DEFAULT NULL,
Expand Down

0 comments on commit 6ddfdf3

Please sign in to comment.