swordmaster-cli 0.1.0

CLI tool to scaffold projects using the Swordmaster framework
1
2
3
4
5
6
7
8
9
10
11
12
mod m20220101_000001_create_user;

use sea_orm_migration::prelude::*;

pub struct Migrator;

#[async_trait::async_trait]
impl MigratorTrait for Migrator {
    fn migrations() -> Vec<Box<dyn MigrationTrait>> {
        vec![Box::new(m20220101_000001_create_user::Migration)]
    }
}