mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 16:04:38 +01:00
9 lines
163 B
PL/PgSQL
9 lines
163 B
PL/PgSQL
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; |