diff --git a/patch-schema/rights-v4.sql b/patch-schema/rights-v4.sql index 9732097ed..54e895f06 100644 --- a/patch-schema/rights-v4.sql +++ b/patch-schema/rights-v4.sql @@ -3,4 +3,7 @@ BEGIN; -- Remove Trial Course from all users UPDATE users SET rights = rights-2; +ALTER TABLE IF EXISTS public.users + ALTER COLUMN rights SET DEFAULT 12; + END; \ No newline at end of file