Skip to content
Snippets Groups Projects
Verified Commit 2109cd71 authored by Olivier Maury's avatar Olivier Maury
Browse files

feat: masquer DRIAS-2014. refs siclima#10529

parent 88e17cd3
No related branches found
No related tags found
1 merge request!7masquer DRIAS-2014
Pipeline #283933 passed
......@@ -318,11 +318,13 @@ language plpgsql;
--
-- SAFRAN 2024 siclima#10552
-- Supprimer DRIAS − 2014 siclma#10529
--
CREATE OR REPLACE FUNCTION upgrade20250115() RETURNS boolean AS $BODY$
BEGIN
INSERT INTO co2concentration (climaticscenario, year, co2value) SELECT id, '2024', 424.61 FROM climaticscenario WHERE name='SAFRAN';
UPDATE climaticscenario SET enddate='2024-12-31' WHERE name='SAFRAN';
UPDATE climaticbase SET isactive=FALSE WHERE code='drias2014';
RETURN true;
END
$BODY$
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment