forked from jmug/stoatchat
feat(core/database): basic implementation of User and File models
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
mod admin_migrations;
|
||||
mod bots;
|
||||
mod files;
|
||||
mod users;
|
||||
|
||||
pub use admin_migrations::*;
|
||||
pub use bots::*;
|
||||
pub use files::*;
|
||||
pub use users::*;
|
||||
|
||||
use crate::{Database, MongoDb, ReferenceDb};
|
||||
|
||||
pub trait AbstractDatabase:
|
||||
Sync + Send + admin_migrations::AbstractMigrations + bots::AbstractBots
|
||||
Sync + Send + admin_migrations::AbstractMigrations + bots::AbstractBots + users::AbstractUsers
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user