Update to mongo 1.1.0-beta, start reset + migrations

This commit is contained in:
Paul Makles
2020-08-04 10:04:08 +02:00
parent 6a1912c27b
commit 17c9148556
18 changed files with 1367 additions and 1125 deletions

View File

@@ -1,7 +1,7 @@
use super::events::Notification;
use crate::database::get_collection;
use bson::{doc, from_bson, to_bson, Bson};
use mongodb::bson::{doc, from_bson, to_bson, Bson};
use mongodb::options::{CursorType, FindOneOptions, FindOptions};
use serde::{Deserialize, Serialize};
use std::time::Duration;

View File

@@ -1,7 +1,7 @@
use crate::database;
use crate::util::vec_to_set;
use bson::doc;
use mongodb::bson::doc;
use hashbrown::{HashMap, HashSet};
use mongodb::options::FindOneOptions;
use once_cell::sync::OnceCell;