mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 00:15:08 +01:00
repository cleanup
This commit is contained in:
11
patch-schema/aio-upgrade.sql
Normal file
11
patch-schema/aio-upgrade.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE IF EXISTS public.users
|
||||
ALTER rights SET DEFAULT 14;
|
||||
|
||||
ALTER TABLE IF EXISTS public.users
|
||||
ALTER rights SET NOT NULL;
|
||||
|
||||
UPDATE public.users SET rights=14 WHERE rights IS NULL;
|
||||
|
||||
END;
|
||||
Reference in New Issue
Block a user