feat(core/database): implement File operations

This commit is contained in:
Paul Makles
2023-04-26 16:49:39 +01:00
parent c27d0ad5bb
commit 60ebdb64d7
7 changed files with 284 additions and 2 deletions

View File

@@ -11,7 +11,12 @@ pub use users::*;
use crate::{Database, MongoDb, ReferenceDb};
pub trait AbstractDatabase:
Sync + Send + admin_migrations::AbstractMigrations + bots::AbstractBots + users::AbstractUsers
Sync
+ Send
+ admin_migrations::AbstractMigrations
+ bots::AbstractBots
+ files::AbstractAttachment
+ users::AbstractUsers
{
}