chore: 修改项目路径结构,使用 workspace 组织包 (#118)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2024-06-08 01:56:53 +08:00
committed by GitHub
parent c4db12b154
commit 1744f8647b
44 changed files with 181 additions and 4753 deletions
+12
View File
@@ -0,0 +1,12 @@
pub use sea_orm_migration::prelude::*;
mod m20240322_000001_create_table;
pub struct Migrator;
#[async_trait::async_trait]
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
vec![Box::new(m20240322_000001_create_table::Migration)]
}
}