Merge pull request #152 from owncloud/oauth_login
[pub/Android/ownCloud.git] / src / com / owncloud / android / db / ProviderMeta.java
index faa16d7..b8058b8 100644 (file)
@@ -1,10 +1,10 @@
 /* ownCloud Android client application\r
  *   Copyright (C) 2011  Bartek Przybylski\r
+ *   Copyright (C) 2012-2013 ownCloud Inc.\r
  *\r
  *   This program is free software: you can redistribute it and/or modify\r
- *   it under the terms of the GNU General Public License as published by\r
- *   the Free Software Foundation, either version 3 of the License, or\r
- *   (at your option) any later version.\r
+ *   it under the terms of the GNU General Public License version 2,\r
+ *   as published by the Free Software Foundation.\r
  *\r
  *   This program is distributed in the hope that it will be useful,\r
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
@@ -31,8 +31,7 @@ public class ProviderMeta {
     public static final String AUTHORITY_FILES = "org.owncloud";\r
     public static final String DB_FILE = "owncloud.db";\r
     public static final String DB_NAME = "filelist";\r
-    //public static final int DB_VERSION = 2;\r
-    public static final int DB_VERSION = 3;\r
+    public static final int DB_VERSION = 4;\r
 \r
     private ProviderMeta() {\r
     }\r
@@ -53,6 +52,7 @@ public class ProviderMeta {
         public static final String FILE_NAME = "filename";\r
         public static final String FILE_CREATION = "created";\r
         public static final String FILE_MODIFIED = "modified";\r
+        public static final String FILE_MODIFIED_AT_LAST_SYNC_FOR_DATA = "modified_at_last_sync_for_data";\r
         public static final String FILE_CONTENT_LENGTH = "content_length";\r
         public static final String FILE_CONTENT_TYPE = "content_type";\r
         public static final String FILE_STORAGE_PATH = "media_path";\r