Skip to content

Commit

Permalink
Add migrate as postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric authored Feb 23, 2024
1 parent 6e536af commit 7f73cfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MyApp/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"scripts": {
"postinstall": "dotnet run --AppTasks=migrate",
"dev": "dotnet watch",
"migrate": "dotnet run --AppTasks=migrate",
"revert:last": "dotnet run --AppTasks=migrate.revert:last",
"revert:all": "dotnet run --AppTasks=migrate.revert:all",
"rerun:last": "npm run revert:last && npm run migrate"
}
}
}

0 comments on commit 7f73cfe

Please sign in to comment.