3 INSERT INTO config.upgrade_log (version) VALUES ('0052');
5 CREATE TABLE asset.copy_location_order
9 REFERENCES asset.copy_location
11 DEFERRABLE INITIALLY DEFERRED,
13 REFERENCES actor.org_unit
15 DEFERRABLE INITIALLY DEFERRED,
16 position INT NOT NULL DEFAULT 0,
17 CONSTRAINT acplo_once_per_org UNIQUE ( location, org )
20 INSERT INTO permission.perm_list VALUES
21 (350, 'ADMIN_COPY_LOCATION_ORDER', oils_i18n_gettext(350, 'Allow a user to create/view/update/delete a copy location order', 'ppl', 'description'));