Initial project commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.eveningoutpost.dexdrip.Models;
|
||||
|
||||
import com.activeandroid.Model;
|
||||
import com.activeandroid.util.SQLiteUtils;
|
||||
|
||||
/**
|
||||
* Created by jamorham on 01/02/2017.
|
||||
*/
|
||||
|
||||
public class PlusModel extends Model {
|
||||
|
||||
protected synchronized static boolean fixUpTable(String[] schema, boolean patched) {
|
||||
if (patched) return true;
|
||||
|
||||
for (String patch : schema) {
|
||||
try {
|
||||
SQLiteUtils.execSql(patch);
|
||||
} catch (Exception e) {
|
||||
//
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user