Messages: Allow multiple attachments. (⚠️ breaking change)

This commit is contained in:
Paul
2021-05-25 17:23:47 +01:00
parent fa3bc56ef4
commit 7aad88ad3f
6 changed files with 72 additions and 13 deletions

View File

@@ -37,6 +37,14 @@ pub async fn create_database() {
.await
.expect("Failed to create attachments collection.");
db.create_collection("channel_unreads", None)
.await
.expect("Failed to create channel_unreads collection.");
db.create_collection("user_settings", None)
.await
.expect("Failed to create user_settings collection.");
db.create_collection(
"pubsub",
CreateCollectionOptions::builder()