summaryrefslogtreecommitdiff
path: root/tools/mmd/create
diff options
context:
space:
mode:
authorJogi Hofmüller <jogi@mur.at>2011-08-11 20:03:03 +0000
committerJogi Hofmüller <jogi@mur.at>2011-08-11 20:03:03 +0000
commitc928433af213be65eb3f370c4734ae7fba47dd4e (patch)
tree0fb3ab113c9e43733c6c053dfc58b7a2d50ab295 /tools/mmd/create
parent- fixed bug in debug display (diff)
- added field altitude to registerFormWidget ()
- added altitude to all Location () methods git-svn-id: https://svn.spreadspace.org/mur.sat@132 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools/mmd/create')
-rw-r--r--tools/mmd/create3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mmd/create b/tools/mmd/create
index d13f1c7..b070e2c 100644
--- a/tools/mmd/create
+++ b/tools/mmd/create
@@ -32,7 +32,8 @@ CREATE TABLE location (
id TEXT PRIMARY KEY NOT NULL,
longitude REAL,
latitude REAL,
- name TEXT,
+ altitude INTEGER,
+ name TEXT default 'unknown',
is_default TEXT,
user_id TEXT,
FOREIGN KEY (user_id) REFERENCES user (id)