From b8e85a284635584ce6b18c85ab129e6b9b6d2047 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 21 Feb 2014 21:35:23 +0100 Subject: subscription mgmt works --- src/de/gultsch/chat/persistance/DatabaseBackend.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/de/gultsch/chat/persistance') diff --git a/src/de/gultsch/chat/persistance/DatabaseBackend.java b/src/de/gultsch/chat/persistance/DatabaseBackend.java index caee4e8f6..18fad7c42 100644 --- a/src/de/gultsch/chat/persistance/DatabaseBackend.java +++ b/src/de/gultsch/chat/persistance/DatabaseBackend.java @@ -58,7 +58,7 @@ public class DatabaseBackend extends SQLiteOpenHelper { + Contact.DISPLAYNAME + " TEXT," + Contact.JID + " TEXT," + Contact.PRESENCES + " TEXT, " + Contact.KEYS + " TEXT," + Contact.PHOTOURI + " TEXT," + Contact.SUBSCRIPTION - + " TEXT," + Contact.SYSTEMACCOUNT + " NUMBER, " + + " NUMBER," + Contact.SYSTEMACCOUNT + " NUMBER, " + "FOREIGN KEY(" + Contact.ACCOUNT + ") REFERENCES " + Account.TABLENAME + "(" + Account.UUID + ") ON DELETE CASCADE);"); -- cgit v1.2.3