diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-21 21:35:23 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-21 21:35:23 +0100 |
commit | b8e85a284635584ce6b18c85ab129e6b9b6d2047 (patch) | |
tree | d7fab70d6ee1cd86317316a172c48683b93bf9c9 /src/de/gultsch/chat/persistance/DatabaseBackend.java | |
parent | b71bfbaa9d483d0fd00801fffa1e2a7c7fa32656 (diff) |
subscription mgmt works
Diffstat (limited to 'src/de/gultsch/chat/persistance/DatabaseBackend.java')
-rw-r--r-- | src/de/gultsch/chat/persistance/DatabaseBackend.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/gultsch/chat/persistance/DatabaseBackend.java b/src/de/gultsch/chat/persistance/DatabaseBackend.java index caee4e8f..18fad7c4 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);"); |