Commit 2e9246c8 authored by Romain Courteaud's avatar Romain Courteaud

Add mirror_date column to the stock table.

This column is used to calculated flow capacity.

Do not forget to recreate your catalog if upgrading.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12506 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9043aeee
...@@ -107,6 +107,7 @@ CREATE TABLE `stock` (\n ...@@ -107,6 +107,7 @@ CREATE TABLE `stock` (\n
`resource_uid` BIGINT UNSIGNED,\n `resource_uid` BIGINT UNSIGNED,\n
`quantity` real ,\n `quantity` real ,\n
`date` datetime,\n `date` datetime,\n
`mirror_date` datetime,\n
`total_price` real ,\n `total_price` real ,\n
`portal_type` VARCHAR(255),\n `portal_type` VARCHAR(255),\n
`simulation_state` varchar(255) default \'\',\n `simulation_state` varchar(255) default \'\',\n
...@@ -176,6 +177,7 @@ CREATE TABLE `stock` (\n ...@@ -176,6 +177,7 @@ CREATE TABLE `stock` (\n
`resource_uid` BIGINT UNSIGNED,\n `resource_uid` BIGINT UNSIGNED,\n
`quantity` real ,\n `quantity` real ,\n
`date` datetime,\n `date` datetime,\n
`mirror_date` datetime,\n
`total_price` real ,\n `total_price` real ,\n
`portal_type` VARCHAR(255),\n `portal_type` VARCHAR(255),\n
`simulation_state` varchar(255) default \'\',\n `simulation_state` varchar(255) default \'\',\n
......
2007-02-01 Romain
* Add mirror_date column to the stock table.
2006-12-27 vincent 2006-12-27 vincent
* Move catalog related things from erp5_core into this new BT. * Move catalog related things from erp5_core into this new BT.
\ No newline at end of file
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