diff options
Diffstat (limited to 'Taskfile.yml')
| -rw-r--r-- | Taskfile.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Taskfile.yml b/Taskfile.yml index 9015fd0..6ed06f5 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -33,3 +33,13 @@ tasks: cmds: - dotnet format --verbosity diagnostic src/Enmarcha.Backend/Enmarcha.Backend.csproj - npx prettier --write "src/frontend/**/*.{ts,tsx,css}" + + dbmigrate: + desc: Run database migrations. + cmds: + - dotnet ef migrations add --project src/Enmarcha.Backend/Enmarcha.Backend.csproj + + dbupdate: + desc: Update database with latest migrations. + cmds: + - dotnet ef database update --project src/Enmarcha.Backend/Enmarcha.Backend.csproj |
