diff artifacts/doc/conf/meta-data.xml @ 8072:5f28aa1be795

SCHEMA CHANGE: rename database tables from yield to load_ls according to respective classes.
author Tom Gottfried <tom@intevation.de>
date Wed, 06 Aug 2014 19:17:12 +0200
parents b57ecf80e40c
children 1c57c9dc1661
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Tue Aug 05 18:28:04 2014 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Wed Aug 06 19:17:12 2014 +0200
@@ -1486,7 +1486,7 @@
       
     <dc:macro name="yields">
       <yields>
-      <dc:call-macro name="annotations_sediment_yield"/>
+      <dc:call-macro name="annotations_sediment_load_ls"/>
       <years>
       <dc:context>
         <dc:statement>
@@ -1495,9 +1495,9 @@
                 sy.description AS description,
                 ti.start_time  AS year,
                 gf.name        AS fraction
-            FROM     sediment_yield sy
+            FROM     sediment_load_ls sy
                 JOIN rivers r ON sy.river_id = r.id
-                JOIN sediment_yield_values syv ON sy.id = syv.sediment_yield_id
+                JOIN sediment_load_ls_values syv ON sy.id = syv.sediment_load_ls_id
                 JOIN time_intervals ti ON sy.time_interval_id = ti.id
                 JOIN grain_fraction gf ON gf.id = sy.grain_fraction_id
             WHERE   r.id = ${river_id}
@@ -1519,9 +1519,9 @@
                 ti.start_time  AS startyear,
                 ti.stop_time   AS endyear,
                 gf.name        AS fraction
-            FROM     sediment_yield sy
+            FROM     sediment_load_ls sy
                 JOIN rivers r ON sy.river_id = r.id
-                JOIN sediment_yield_values syv ON sy.id = syv.sediment_yield_id
+                JOIN sediment_load_ls_values syv ON sy.id = syv.sediment_load_ls_id
                 JOIN time_intervals ti ON sy.time_interval_id = ti.id
                 JOIN grain_fraction gf ON gf.id = sy.grain_fraction_id
             WHERE   r.id = ${river_id}
@@ -1575,7 +1575,7 @@
       </annotations>
     </dc:macro>
 
-    <dc:macro name="annotations_sediment_yield">
+    <dc:macro name="annotations_sediment_load_ls">
       <sources_sinks>
         <dc:context>
           <dc:statement>

http://dive4elements.wald.intevation.org