forked from jmug/stoatchat
refactor: minimum implementation of revolt-models and revolt-database
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// Document representing migration information
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct MigrationInfo {
|
||||
/// Unique Id
|
||||
#[serde(rename = "_id")]
|
||||
id: i32,
|
||||
/// Current database revision
|
||||
revision: i32,
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
mod admin {
|
||||
pub mod migrations;
|
||||
pub mod simple;
|
||||
pub mod stats;
|
||||
}
|
||||
@@ -47,7 +46,6 @@ pub use channel_invite::Invite;
|
||||
pub use channel_unread::ChannelUnread;
|
||||
pub use emoji::Emoji;
|
||||
pub use message::Message;
|
||||
pub use migrations::MigrationInfo;
|
||||
pub use report::Report;
|
||||
pub use server::Server;
|
||||
pub use server_ban::ServerBan;
|
||||
|
||||
Reference in New Issue
Block a user