Allow different identities to have the same contact.

This commit is contained in:
akwizgran
2016-02-02 16:40:50 +00:00
parent ffbcd550e6
commit 3697fc6eb1
2 changed files with 30 additions and 1 deletions

View File

@@ -100,7 +100,6 @@ abstract class JdbcDatabase implements Database<Connection> {
+ " localAuthorId HASH NOT NULL,"
+ " status INT NOT NULL,"
+ " PRIMARY KEY (contactId),"
+ " UNIQUE (authorId),"
+ " FOREIGN KEY (localAuthorId)"
+ " REFERENCES localAuthors (authorId)"
+ " ON DELETE CASCADE)";