From: David A. Velasco Date: Wed, 25 Jun 2014 08:33:53 +0000 (+0200) Subject: Fixed typo breaking upgrade of database version to add remote_id column X-Git-Tag: oc-android-1.7.0_signed~267^2~4 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/947063c1938b068518fc6a1114ed19e3b72543a1 Fixed typo breaking upgrade of database version to add remote_id column --- diff --git a/src/com/owncloud/android/providers/FileContentProvider.java b/src/com/owncloud/android/providers/FileContentProvider.java index 8ef44e37..36bf5a7c 100644 --- a/src/com/owncloud/android/providers/FileContentProvider.java +++ b/src/com/owncloud/android/providers/FileContentProvider.java @@ -697,7 +697,7 @@ public class FileContentProvider extends ContentProvider { " ADD COLUMN " + ProviderTableMeta.FILE_PERMISSIONS + " TEXT " + " DEFAULT NULL"); - db .execSQL("ALTER TABLE " + ProviderTableMeta.FILE_REMOTE_ID + + db .execSQL("ALTER TABLE " + ProviderTableMeta.FILE_TABLE_NAME + " ADD COLUMN " + ProviderTableMeta.FILE_REMOTE_ID + " TEXT " + " DEFAULT NULL");