Mercurial > dive4elements > framework
diff artifact-database/doc/schema-pg.sql @ 156:a76de72ad6d1
Added stubs for the collection handling in db backend.
Added missing attribute column to the collection item table.
artifacts/trunk@1381 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 03 Mar 2011 09:53:02 +0000 |
parents | caf9f456f7e3 |
children | a85d889a1b0d |
line wrap: on
line diff
--- a/artifact-database/doc/schema-pg.sql Thu Mar 03 09:51:09 2011 +0000 +++ b/artifact-database/doc/schema-pg.sql Thu Mar 03 09:53:02 2011 +0000 @@ -45,6 +45,7 @@ id int PRIMARY KEY NOT NULL, collection_id int NOT NULL REFERENCES collections(id), artifact_id int NOT NULL REFERENCES artifacts(id), + attribute BINARY, UNIQUE (collection_id, artifact_id) );