Prototype

This commit is contained in:
Shiroyasha 2024-12-11 12:31:54 +03:00
commit 2844bb9149
Signed by: shiroyashik
GPG key ID: E4953D3940D7860A
19 changed files with 5483 additions and 0 deletions

12
migration/src/lib.rs Normal file
View file

@ -0,0 +1,12 @@
pub use sea_orm_migration::prelude::*;
mod m20220101_000001_create_table;
pub struct Migrator;
#[async_trait::async_trait]
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
vec![Box::new(m20220101_000001_create_table::Migration)]
}
}