forked from BEXIS2/Core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUpdate_Script_212to2121.txt
More file actions
29 lines (21 loc) · 898 Bytes
/
Update_Script_212to2121.txt
File metadata and controls
29 lines (21 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
BEGIN TRANSACTION;
-- ROLLBACK TRANSACTION;
-- update system type of a party type
UPDATE public.partytypes SET systemtype = 'N';
--Select * from public.partytypes;
-- update new added terms and condition & privacy policy default values
UPDATE public.users SET hastermsandconditionsaccepted = 'N';
UPDATE public.users SET hasprivacypolicyaccepted = 'N';
--Select * from public.users;
-- ADD GRANT to partycustomgridcolumns - postgres user
GRANT SELECT, UPDATE, INSERT ON public.partycustomgridcolumns TO postgres;
-- ADD SEEDDATA from shell
INSERT INTO public.operations(
versionno, extra, module, controller, action, featureref)
VALUES
(1, ' ', 'Shell', 'TermsAndConditions', '*', null),
(1, ' ', 'Shell', 'PrivacyPolicy', '*', null);
--Select * from public.operations;
-- add token to users table
ALTER TABLE public.users ADD token character varying;
--COMMIT;