From 770710757b4b783424f8e8e63107835029320080 Mon Sep 17 00:00:00 2001 From: Pavol Zibrita Date: Mon, 22 Aug 2011 21:40:45 +0200 Subject: [PATCH] Fixed issue 613 (bad db initialization) --- OsmAnd/src/net/osmand/plus/FavouritesDbHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/FavouritesDbHelper.java b/OsmAnd/src/net/osmand/plus/FavouritesDbHelper.java index cee1b41178..05851c74a6 100644 --- a/OsmAnd/src/net/osmand/plus/FavouritesDbHelper.java +++ b/OsmAnd/src/net/osmand/plus/FavouritesDbHelper.java @@ -21,8 +21,8 @@ public class FavouritesDbHelper extends SQLiteOpenHelper { private static final String FAVOURITE_COL_LAT = "latitude"; //$NON-NLS-1$ private static final String FAVOURITE_COL_LON = "longitude"; //$NON-NLS-1$ private static final String FAVOURITE_TABLE_CREATE = "CREATE TABLE " + FAVOURITE_TABLE_NAME + " (" + //$NON-NLS-1$ //$NON-NLS-2$ - FAVOURITE_COL_NAME + " TEXT, " + FAVOURITE_COL_LAT + " double, " + //$NON-NLS-1$ //$NON-NLS-2$ - FAVOURITE_COL_LON + " double);"; //$NON-NLS-1$ + FAVOURITE_COL_NAME + " TEXT, " + FAVOURITE_COL_CATEGORY + " TEXT, " + //$NON-NLS-1$ //$NON-NLS-2$ + FAVOURITE_COL_LAT + " double, " + FAVOURITE_COL_LON + " double);"; //$NON-NLS-1$ //$NON-NLS-2$ // externalize ? private static final String GPX_GROUP = "Gpx";