integrate migrations
This commit is contained in:
parent
c9c12a0ec7
commit
f7e95ea0a8
2 changed files with 13 additions and 1 deletions
|
|
@ -10,6 +10,11 @@ pub struct Migrator;
|
|||
#[async_trait::async_trait]
|
||||
impl MigratorTrait for Migrator {
|
||||
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
||||
vec![]
|
||||
vec![
|
||||
Box::new(m20230606_000001_create_tracks_table::Migration),
|
||||
Box::new(m20230606_000002_create_ticks_table::Migration),
|
||||
Box::new(m20230606_000003_create_groups_table::Migration),
|
||||
Box::new(m20230606_000004_create_track2groups_table::Migration),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue