Commit 7e376520 authored by Romain Courteaud's avatar Romain Courteaud

slapos_mysql_innodb_catalog: add function_security_uid columns

parent f59f369c
REPLACE INTO
catalog
(`uid`, `security_uid`, `group_security_uid`, `shadow_security_uid`, `computer_security_uid`,`user_security_uid`, `subscription_security_uid`, `organisation_security_uid`,
(`uid`, `security_uid`, `function_security_uid`, `group_security_uid`, `shadow_security_uid`, `computer_security_uid`,`user_security_uid`, `subscription_security_uid`, `organisation_security_uid`,
`project_security_uid`, `owner`, `viewable_owner`, `path`, `relative_url`, `parent_uid`, `id`, `description`, `title`, `meta_type`,
`portal_type`, `opportunity_state`, `corporate_registration_code`, `ean13_code`, `validation_state`, `simulation_state`,
`causality_state`, `invoice_state`, `payment_state`, `event_state`, `immobilisation_state`, `reference`, `grouping_reference`, `grouping_date`,
......@@ -11,6 +11,7 @@ VALUES
(
<dtml-sqlvar expr="uid[loop_item]" type="int">,
<dtml-sqlvar expr="security_uid[loop_item]" type="int">,
<dtml-sqlvar expr="function_security_uid[loop_item]" type="int" optional>,
<dtml-sqlvar expr="group_security_uid[loop_item]" type="int" optional>,
<dtml-sqlvar expr="shadow_security_uid[loop_item]" type="int" optional>,
<dtml-sqlvar expr="computer_security_uid[loop_item]" type="int" optional>,
......
......@@ -5,6 +5,7 @@
CREATE TABLE `catalog` (
`uid` BIGINT UNSIGNED NOT NULL,
`security_uid` INT UNSIGNED,
`function_security_uid` INT UNSIGNED,
`group_security_uid` INT UNSIGNED,
`shadow_security_uid` INT UNSIGNED,
`computer_security_uid` INT UNSIGNED,
......
<key_list>
<key>computer | computer_security_uid</key>
<key>function | function_security_uid</key>
<key>group | group_security_uid</key>
<key>organisation | organisation_security_uid</key>
<key>project | project_security_uid</key>
......
function | function_security_uid
group | group_security_uid
shadow | shadow_security_uid
computer | computer_security_uid
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment