mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
Update to mongo 1.1.0-beta, start reset + migrations
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user