mirror of
https://github.com/shiroyashik/doggy-watch.git
synced 2025-12-06 12:31:13 +03:00
The first completed version!
This commit is contained in:
parent
2844bb9149
commit
42fd8f571e
37 changed files with 2320 additions and 952 deletions
14
database/migration/src/lib.rs
Normal file
14
database/migration/src/lib.rs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
pub use sea_orm_migration::prelude::*;
|
||||
|
||||
mod m20241211_182453_create_tables;
|
||||
|
||||
pub struct Migrator;
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl MigratorTrait for Migrator {
|
||||
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
||||
vec![
|
||||
Box::new(m20241211_182453_create_tables::Migration),
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue