Commit 90042c2b authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

Don't need anymore update cc on action table

parent 84cd61d4
......@@ -4,23 +4,6 @@
DROP FUNCTION IF EXISTS updateRV();
CREATE FUNCTION updateRV() RETURNS VOID AS $$
BEGIN
-- rv_ways
-- on note les cc touchées par la modification des ways
INSERT INTO actions
(
SELECT DISTINCT
'c' AS data_type,
'M' AS action,
rv_ways.cc AS id
FROM
actions
INNER JOIN
rv_ways ON actions.id=rv_ways.id
WHERE
data_type='W'
AND
NOT rv_ways.cc IS NULL
);
-- update de rv_way
-- etape 1 : effacement des ways effacée ou modifiée
......
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