Commit c4b8f2d5 authored by Vincent Pelletier's avatar Vincent Pelletier

z_catalog_stock_list: Name columns explicitely.

Makes future table structure changes easier.
parent 28f8c26f
......@@ -69,6 +69,31 @@ WHERE
<dtml-if "row_list">
REPLACE INTO
stock
(
`uid`,
`order_id`,
`explanation_uid`,
`node_uid`,
`section_uid`,
`payment_uid`,
`function_uid`,
`project_uid`,
`funding_uid`,
`payment_request_uid`,
`mirror_section_uid`,
`mirror_node_uid`,
`resource_uid`,
`quantity`,
`is_cancellation`,
`is_accountable`,
`date`,
`mirror_date`,
`total_price`,
`portal_type`,
`simulation_state`,
`variation_text`,
`sub_variation_text`
)
VALUES
<dtml-in prefix="row" expr="row_list">
(
......
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