diff artifact-database/src/main/resources/sql/org-postgresql-driver.properties @ 320:b46c5b13ac94

Extract the collection and artifact creation times when doing the initial, too. artifacts/trunk@2482 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 10 Aug 2011 14:18:33 +0000
parents 824051dff018
children 560d2e6eaf9c
line wrap: on
line diff
--- a/artifact-database/src/main/resources/sql/org-postgresql-driver.properties	Mon Aug 08 13:06:05 2011 +0000
+++ b/artifact-database/src/main/resources/sql/org-postgresql-driver.properties	Wed Aug 10 14:18:33 2011 +0000
@@ -172,8 +172,8 @@
     UPDATE collections SET attribute = ? WHERE gid = ?::uuid
 
 all.artifacts = \
-    SELECT u.gid AS u_gid, c.gid AS c_gid, c.name as name, \
-           a.gid AS a_gid, a.factory AS factory, a.data AS data \
+    SELECT u.gid AS u_gid, c.gid AS c_gid, c.name AS c_name, c.creation as c_creation, \
+           a.gid AS a_gid, a.factory AS factory, a.creation AS a_creation, a.data AS data \
     FROM \
         users u INNER JOIN collections c       ON u.id = c.owner_id \
                 INNER JOIN collection_items ci ON c.id = ci.collection_id \

http://dive4elements.wald.intevation.org