feat(core/database): basic implementation of User and File models

This commit is contained in:
Paul Makles
2023-04-23 17:44:23 +01:00
parent 1933c9ea3d
commit e6d0d44c5a
13 changed files with 274 additions and 3 deletions

View File

@@ -19,6 +19,10 @@ extern crate revolt_result;
#[cfg(feature = "mongodb")]
pub use mongodb;
#[cfg(feature = "mongodb")]
#[macro_use]
extern crate bson;
macro_rules! database_derived {
( $( $item:item )+ ) => {
$(