quivr/supabase/migrations/20240122194117_monthly-credit.sql
Stan Girard 3a24990af5
feat: 🎸 usage (#2057)
moving from daily to monthly

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-01-22 11:46:26 -08:00

10 lines
347 B
SQL

alter table "public"."product_to_features" drop column "daily_chat_credit";
alter table "public"."product_to_features" add column "monthly_chat_credit" integer not null default 20;
alter table "public"."user_settings" drop column "daily_chat_credit";
alter table "public"."user_settings" add column "monthly_chat_credit" integer default 100;