aboutsummaryrefslogtreecommitdiff
path: root/sources/db
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2011-10-13 10:24:30 +0200
committerJochen Topf <jochen@topf.org>2011-10-13 10:24:30 +0200
commit13c3e0d2742b90eed09beb19e3622b795da9002b (patch)
treebae2df6729f7ed0266da8eef7ab40e62cc586729 /sources/db
parentfc9dbd0508e37c0c7398c480d28a69f2a1c3e58a (diff)
downloadtaginfo-13c3e0d2742b90eed09beb19e3622b795da9002b.tar
taginfo-13c3e0d2742b90eed09beb19e3622b795da9002b.tar.gz
fix: distribution map did not work when there were no nodes with a tag
Diffstat (limited to 'sources/db')
-rw-r--r--sources/db/pre.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/db/pre.sql b/sources/db/pre.sql
index 64e28bd..03e6b23 100644
--- a/sources/db/pre.sql
+++ b/sources/db/pre.sql
@@ -48,8 +48,8 @@ DROP TABLE IF EXISTS key_distributions;
CREATE TABLE key_distributions (
key VARCHAR,
- nodes BLOB,
- ways BLOB
+ object_type VARCHAR(1), -- (n)ode, (w)ay,
+ png BLOB
);
DROP TABLE IF EXISTS tags;