mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Allow identical batches to be sent to multiple contacts.
This commit is contained in:
@@ -127,7 +127,7 @@ abstract class JdbcDatabase implements Database<Connection> {
|
||||
+ " (batchId HASH NOT NULL,"
|
||||
+ " contactId INT NOT NULL,"
|
||||
+ " messageId HASH NOT NULL,"
|
||||
+ " PRIMARY KEY (batchId, messageId),"
|
||||
+ " PRIMARY KEY (batchId, contactId, messageId),"
|
||||
+ " FOREIGN KEY (batchId, contactId)"
|
||||
+ " REFERENCES outstandingBatches (batchId, contactId)"
|
||||
+ " ON DELETE CASCADE,"
|
||||
|
||||
Reference in New Issue
Block a user