From 74368f939b4a524cff270ed2a51aba64f135c686 Mon Sep 17 00:00:00 2001 From: Gareth Date: Fri, 15 Aug 2025 14:23:13 -0400 Subject: [PATCH] By creating the db in the container on composition, the first migration file rejects the schema of the empty database. All I had to do was remove db creation from docker so that db:prepare will default to creating open_food_network_dev from schema.rb rather than perceiving a mismatch from the precreated docker db --- compose.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index 2d33e88fd7..7ba4f2cc18 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,7 +5,6 @@ services: environment: POSTGRES_PASSWORD: f00d POSTGRES_USER: ofn - POSTGRES_DB: open_food_network_dev ports: - 5432:5432 volumes: