You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
596 B
19 lines
596 B
pub use sea_orm_migration::prelude::*;
|
|
|
|
mod m20230112_115856_create_company_table;
|
|
mod m20230112_160440_create_transaction_table;
|
|
mod m20230119_112539_create_transactions_in_process_table;
|
|
|
|
pub struct Migrator;
|
|
|
|
#[async_trait::async_trait]
|
|
impl MigratorTrait for Migrator {
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
|
vec![
|
|
Box::new(m20230112_115856_create_company_table::Migration),
|
|
Box::new(m20230112_160440_create_transaction_table::Migration),
|
|
Box::new(m20230119_112539_create_transactions_in_process_table::Migration),
|
|
]
|
|
}
|
|
}
|