SimulationTool: adds ledger in the Inventory API
A new column ledger in the stock table and some related keys (stored in erp5_mysql_innodb_catalog) have also been created Adds tests for inventory queries based on ledger in testInventoryAPI
... | ... | @@ -12,6 +12,7 @@ CREATE TABLE `stock` ( |
`function_uid` BIGINT UNSIGNED, | ||
`project_uid` BIGINT UNSIGNED, | ||
`funding_uid` BIGINT UNSIGNED, | ||
`ledger_uid` BIGINT UNSIGNED, | ||
`payment_request_uid` BIGINT UNSIGNED, | ||
`mirror_section_uid` BIGINT UNSIGNED, | ||
`mirror_node_uid` BIGINT UNSIGNED, | ||
... | ... | @@ -34,6 +35,7 @@ CREATE TABLE `stock` ( |
KEY `node_uid` (`node_uid`), | ||
KEY `payment_uid` (`payment_uid`), | ||
KEY `function_uid` (`function_uid`), | ||
KEY `ledger_uid` (`ledger_uid`), | ||
|
||
KEY `payment_request_uid` (`payment_request_uid`), | ||
KEY `project_uid` (`project_uid`), | ||
KEY `funding_uid` (`funding_uid`), | ||
... | ... |