aboutsummaryrefslogtreecommitdiff
path: root/Taskfile.yml
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-03-19 18:56:34 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2026-03-19 18:56:34 +0100
commitbee85bf92aab84087798ffa9f3f16336acef2fce (patch)
tree4fc8e2907e6618940cd9bdeb3da1a81172aab459 /Taskfile.yml
parentfed5d57b9e5d3df7c34bccb7a120bfa274b2039a (diff)
Basic backoffice for alert management
Diffstat (limited to 'Taskfile.yml')
-rw-r--r--Taskfile.yml10
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