add constraint to loc table

This commit is contained in:
Eric House 2014-04-22 07:29:35 -07:00
parent 94597ee287
commit ec0443b2ce

View file

@ -181,6 +181,7 @@ public class DBHelper extends SQLiteOpenHelper {
,{ LOCALE, "TEXT(5)" }
,{ BLESSED, "INTEGER(1)" }
,{ XLATION, "TEXT" }
,{ "UNIQUE", "(" + KEY + ", " + LOCALE + "," + BLESSED + ")" }
};
private static final String[][] s_pairsSchema = {