mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 05:26:59 +00:00
Update to mongo 1.1.0-beta, start reset + migrations
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
use bson::UtcDateTime;
|
||||
use mongodb::bson::DateTime;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
pub struct UserEmailVerification {
|
||||
pub verified: bool,
|
||||
pub target: Option<String>,
|
||||
pub expiry: Option<UtcDateTime>,
|
||||
pub rate_limit: Option<UtcDateTime>,
|
||||
pub expiry: Option<DateTime>,
|
||||
pub rate_limit: Option<DateTime>,
|
||||
pub code: Option<String>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user