diff artifact-database/doc/schema-pg.sql @ 274:92166f7c3842

#50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact). artifacts/trunk@2071 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 07 Jun 2011 17:09:25 +0000
parents 328ef982d768
children 10aa92f2eca0
line wrap: on
line diff
--- a/artifact-database/doc/schema-pg.sql	Tue Jun 07 16:27:47 2011 +0000
+++ b/artifact-database/doc/schema-pg.sql	Tue Jun 07 17:09:25 2011 +0000
@@ -47,6 +47,7 @@
     collection_id int             NOT NULL REFERENCES collections(id),
     artifact_id   int             NOT NULL REFERENCES artifacts(id),
     attribute     bytea,
+    creation      timestamp       NOT NULL,
     UNIQUE (collection_id, artifact_id)
 );
 

http://dive4elements.wald.intevation.org