Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Migration_17_18.java « migration « persistence « notes « owncloud « niedermann « it « java « main « src « app - github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6faa9016add86aad83cab76a50b516267d0d9aa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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");
    }
}