Skip to content

Commit

Permalink
fix: injection points
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Oct 28, 2024
1 parent 43ef503 commit 7bb5e4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion starters/rest-api/migration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ pub struct Migrator;
#[async_trait::async_trait]
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
vec![Box::new(m20220101_000001_users::Migration)]
vec![
// inject-below
Box::new(m20220101_000001_users::Migration),
]
}
}
4 changes: 3 additions & 1 deletion starters/saas/migration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ pub struct Migrator;
#[async_trait::async_trait]
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
vec![Box::new(m20220101_000001_users::Migration)]
vec![
// inject-below
Box::new(m20220101_000001_users::Migration)]
}
}

0 comments on commit 7bb5e4c

Please sign in to comment.