You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
435 B
Rust
17 lines
435 B
Rust
pub use sea_schema::migration::prelude::*;
|
|
|
|
mod m20220029_164527_change_timestamp_format;
|
|
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(m20220029_164527_change_timestamp_format::Migration),
|
|
Box::new(m20220101_000001_create_table::Migration),
|
|
]
|
|
}
|
|
}
|