From 7f73cfe25f61a8eeea0742767b797940b5ae67d1 Mon Sep 17 00:00:00 2001 From: Darren Reid Date: Fri, 23 Feb 2024 11:21:01 +1100 Subject: [PATCH] Add migrate as postinstall --- MyApp/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MyApp/package.json b/MyApp/package.json index 3d3e064..a076dc2 100644 --- a/MyApp/package.json +++ b/MyApp/package.json @@ -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" } -} \ No newline at end of file +}