Skip to content

Commit

Permalink
fix: fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Agnes Lin committed Sep 20, 2019
1 parent 7164a3c commit 061af6b
Show file tree
Hide file tree
Showing 5 changed files with 212 additions and 229 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export function belongsToRelationAcceptance(
({customerRepo, orderRepo, shipmentRepo} = givenBoundCrudRepositories(
ctx.dataSource,
repositoryClass,
features,
));
const models = [Customer, Order, Shipment];
await ctx.dataSource.automigrate(models.map(m => m.name));
Expand Down
Loading

0 comments on commit 061af6b

Please sign in to comment.