diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-06-13 14:15:16 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-06-13 14:15:16 +0300 |
commit | e63eb19ce41f367895db4f5da4c811303d0153b4 (patch) | |
tree | fcb1f95aa91bdac10262a2a22d08f8fa14ba1339 /app/src/main/java/it/niedermann/owncloud/notes/persistence/migration | |
parent | be0260950bdfc3e95267ddacf154aa6923e3e7a2 (diff) |
Adjust icon style to master
Diffstat (limited to 'app/src/main/java/it/niedermann/owncloud/notes/persistence/migration')
-rw-r--r-- | app/src/main/java/it/niedermann/owncloud/notes/persistence/migration/Migration_17_18.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/src/main/java/it/niedermann/owncloud/notes/persistence/migration/Migration_17_18.java b/app/src/main/java/it/niedermann/owncloud/notes/persistence/migration/Migration_17_18.java new file mode 100644 index 00000000..6faa9016 --- /dev/null +++ b/app/src/main/java/it/niedermann/owncloud/notes/persistence/migration/Migration_17_18.java @@ -0,0 +1,14 @@ +package it.niedermann.owncloud.notes.persistence.migration; + +import android.database.sqlite.SQLiteDatabase; + +import androidx.annotation.NonNull; + +public class Migration_17_18 { + /** + * Add a new column to store the sorting method for a category note list + */ + public Migration_17_18(@NonNull SQLiteDatabase db) { + db.execSQL("ALTER TABLE CATEGORIES ADD COLUMN CATEGORY_SORTING_METHOD INTEGER DEFAULT 0"); + } +} |