add 'deny' property

This commit is contained in:
Helmut Merz 2021-03-07 09:26:54 +01:00
parent 54f0f8aab3
commit abf870d291

View file

@ -9,8 +9,9 @@ insert into steps (id, item, property, valtype, numval, textval) values
(4, 1, 2, 3, 4, null), -- type: root assert type
(5, 1, 2, 3, 5, null), -- Property: root assert Property
(6, 1, 2, 3, 6, null), -- ref: root assert ref
(7, 1, 2, 3, 6, null), -- Event: root assert Event
(8, 1, 2, 3, 6, null); -- Domain: root assert Domain
(7, 1, 2, 3, 7, null), -- Event: root assert Event
(8, 1, 2, 3, 8, null), -- Domain: root assert Domain
(9, 1, 2, 3, 9, null); -- deny: root assert deny
-- basic types and refs
insert into steps (item, property, valtype, numval, textval) values
@ -22,6 +23,7 @@ insert into steps (item, property, valtype, numval, textval) values
(6, 4, 3, 5, null), -- ref type Property
(7, 4, 3, 3, null), -- Event type Class
(8, 4, 3, 3, null), -- Domain type Class
(9, 4, 3, 5, null), -- deny type property
(1, 6, 1, null, 'root'), -- root ref "root"
(2, 6, 1, null, 'assert'), -- assert ref "assert"
(3, 6, 1, null, 'Class'), -- Class ref "Class"
@ -29,8 +31,9 @@ insert into steps (item, property, valtype, numval, textval) values
(5, 6, 1, null, 'Property'), -- Property ref "Property"
(6, 6, 1, null, 'ref'), -- ref ref "ref"
(7, 6, 1, null, 'Event'), -- Event ref "Event"
(8, 6, 1, null, 'Domain'); -- Domain ref "Domain"
(8, 6, 1, null, 'Domain'), -- Domain ref "Domain"
(9, 6, 1, null, 'deny') ; -- deny ref "deny"
-- let IDs for steps added later start with 101
select setval('steps_id_seq', 100)
-- alter sequence steps_id_seq restart 101;
--select setval('steps_id_seq', 100)
alter sequence steps_id_seq restart 101;