diff flys-artifacts/doc/conf/datacage.sql @ 990:e573c4715d81

Add artifacts data into datacage db at initial scan. flys-artifacts/trunk@2422 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 29 Jul 2011 08:40:11 +0000
parents dbe39e1fb5e7
children 5b467bc27eda
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/datacage.sql	Fri Jul 29 07:56:28 2011 +0000
+++ b/flys-artifacts/doc/conf/datacage.sql	Fri Jul 29 08:40:11 2011 +0000
@@ -37,6 +37,7 @@
 CREATE TABLE artifact_data (
     id          INT PRIMARY KEY NOT NULL,
     artifact_id INT             NOT NULL REFERENCES artifacts(id) ON DELETE CASCADE,
+    kind        VARCHAR(256)    NOT NULL,
     k           VARCHAR(256)    NOT NULL,
     v           VARCHAR(256),   -- Maybe too short
     UNIQUE (artifact_id, k)

http://dive4elements.wald.intevation.org