]> err.no Git - mapper/commitdiff
Update table definition
authorKaj-Michael Lang <milang@onion.tal.org>
Sun, 4 Nov 2007 16:15:09 +0000 (18:15 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Sun, 4 Nov 2007 16:15:09 +0000 (18:15 +0200)
src/poi.c

index 747293dfa5feed900fcb14b416b9956a94057383..20c51cc2bcf179667f8fe1e045232f25bd2b8b6c 100644 (file)
--- a/src/poi.c
+++ b/src/poi.c
@@ -166,13 +166,15 @@ if (SQLITE_OK != sqlite3_get_table(db, "select label from poi limit 1",
                "label text, "
                "desc text, "
                "url text, "
+               "postal_code text,"
                "public int default 1, "
                "source int default 0, "
+               "cat_id int default 900,"
                "osm_id int default 0, "
                "isin_c int default 0, "
                "isin_p int default 0, "
                "priority int default 2, "
-               "cat_id int);"
+               "addtime int);"
             "create table category (cat_id INTEGER PRIMARY KEY AUTOINCREMENT,"
                "label text, "
                "desc text, "