Fixed syntax errors and added a LOCATION table to constellationdb.sqlite.