refactor: minimum implementation of revolt-models and revolt-database
This commit is contained in:
28 files changed
+558
-108
No files matched your search
@@ -0,0 +1,8 @@
|
||||
use revolt_database::DatabaseInfo;
|
||||
use revolt_models::*;
|
||||
|
||||
#[async_std::main]
|
||||
async fn main() {
|
||||
let db = Database(DatabaseInfo::Auto.connect().await.unwrap());
|
||||
db.migrate_database().await.unwrap();
|
||||
}
|
||||
Reference in new issue
Block a user