quivr/backend/supabase/migrations/20240103181249_premium.sql

8 lines
298 B
SQL

alter table "public"."user_settings" add column "is_premium" boolean not null default false;
alter table "public"."user_settings" alter column "max_brain_size" set not null;
alter table "public"."user_settings" alter column "max_brain_size" set data type bigint using "max_brain_size"::bigint;