[PATCH 5 of 6] Change artifact database v param to be type TEXT
Wald Commits
scm-commit at wald.intevation.org
Thu Jul 18 17:54:05 CEST 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1374162791 -7200
# Node ID 6d55614d6f87d2e27c05e3d9964136a3600aab0a
# Parent 3d23f606512f5617af88a541efab1335772a0cbd
Change artifact database v param to be type TEXT
This is neccessary for large theme lists for example in the
map. The 256 chars limit could easily be overtaken.
I am using this for quite some time now and the upcoming version
appears to be a good place to test this.
diff -r 3d23f606512f -r 6d55614d6f87 artifacts/doc/conf/datacage.sql
--- a/artifacts/doc/conf/datacage.sql Thu Jul 18 15:54:48 2013 +0200
+++ b/artifacts/doc/conf/datacage.sql Thu Jul 18 17:53:11 2013 +0200
@@ -41,7 +41,7 @@
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
+ v TEXT,
UNIQUE (artifact_id, k)
);
More information about the Dive4elements-commits
mailing list