From 897ce5aff7077d069d5524f00b133b3d16ba42c9 Mon Sep 17 00:00:00 2001 From: Aaro Koivukangas Date: Thu, 16 Nov 2023 22:26:04 +0200 Subject: [PATCH] fix: adding deploy command to prepare db before launching the app --- fly.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fly.toml b/fly.toml index cd5ded6..3464a8e 100644 --- a/fly.toml +++ b/fly.toml @@ -9,6 +9,9 @@ console_command = "/rails/bin/rails console" [build] +[deploy] + release_command = "bin/rails db:prepare" + [http_service] internal_port = 3000 force_https = true