Skip to content

Commit

Permalink
db: credit renewal migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninjeneer committed May 22, 2023
1 parent 677337c commit 9f9c182
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions supabase/migrations/20230522215015_credits_renewal.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
alter table "public"."probes" add column "price" smallint default '1'::smallint;

alter table "public"."user_credits" drop column "remaningCredits";

alter table "public"."user_credits" add column "remainingCredits" smallint default '0'::smallint;

alter table "public"."user_credits" add column "renewal" date;

0 comments on commit 9f9c182

Please sign in to comment.