Logout thing

This commit is contained in:
Neslihan 2017-05-16 16:01:29 +03:00
parent cce8c27a66
commit aec4300a2e
4 changed files with 16 additions and 2 deletions

View file

@ -331,6 +331,11 @@ public class Contribution extends Media {
db.execSQL(CREATE_TABLE_STATEMENT);
}
public static void onDelete(SQLiteDatabase db) {
db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME);
onCreate(db);
}
public static void onUpdate(SQLiteDatabase db, int from, int to) {
if(from == to) {
return;