comparison flys-artifacts/src/main/resources/datacage-sql/org-postgresql-driver.properties @ 1003:c58da6dd15ed

Datacage: Update collection names on change. Remove artifacts from collections. flys-artifacts/trunk@2443 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 01 Aug 2011 16:53:54 +0000
parents f61fe8b561d2
children 0e8c03b69627
comparison
equal deleted inserted replaced
1002:db86c665ab6e 1003:c58da6dd15ed
15 insert.artifact.data = INSERT INTO artifact_data (id, artifact_id, kind, k, v) VALUES (?, ?, ?, ?, ?) 15 insert.artifact.data = INSERT INTO artifact_data (id, artifact_id, kind, k, v) VALUES (?, ?, ?, ?, ?)
16 out.id.nextval = SELECT NEXTVAL('OUTS_ID_SEQ') 16 out.id.nextval = SELECT NEXTVAL('OUTS_ID_SEQ')
17 insert.out = INSERT INTO outs (id, artifact_id, name, description, out_type) VALUES (?, ?, ?, ?, ?) 17 insert.out = INSERT INTO outs (id, artifact_id, name, description, out_type) VALUES (?, ?, ?, ?, ?)
18 facet.id.nextval = SELECT NEXTVAL('FACETS_ID_SEQ') 18 facet.id.nextval = SELECT NEXTVAL('FACETS_ID_SEQ')
19 insert.facet = INSERT INTO facets (id, out_id, name, num, state, description) VALUES (?, ?, ?, ?, ?, ?) 19 insert.facet = INSERT INTO facets (id, out_id, name, num, state, description) VALUES (?, ?, ?, ?, ?, ?)
20
21 update.collection.name = UPDATE collections SET name = ? WHERE gid = ?::uuid
22 delete.artifact.from.collection = DELETE FROM collection_items WHERE collection_id = ? AND artifact_id = ?

http://dive4elements.wald.intevation.org