From 683b62726fde45f912358d0fad9cfcc364b1d590 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Fri, 28 Mar 2025 08:53:30 +0000 Subject: [PATCH] Add task to migrate production --- mise.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mise.toml b/mise.toml index d459c33f..1ab92c7e 100644 --- a/mise.toml +++ b/mise.toml @@ -77,6 +77,10 @@ run = ['mix setup'] description = 'Open an ssh console to the production env' run = 'fly ssh console' +[tasks."prod:migrate"] +description = 'Run migrations against production' +run = 'mix music_library.prod.db_migrate' + [tasks."prod:backup"] description = 'Backup the production database to the local development env' run = 'mix music_library.prod.db_backup'