From 184edde4175899af7b760f2e5eba9276245d8ea1 Mon Sep 17 00:00:00 2001 From: Christian Sutter Date: Thu, 14 Nov 2024 14:14:26 +0000 Subject: [PATCH] Content Store: Use `db:prepare` instead of `db:setup` We probably don't want to nuke existing databases anyway, and the new SQL-instead-of-Ruby based schema in Content Store won't apply cleanly to an existing database (where this will just make it run migrations instead). --- projects/content-store/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/content-store/Makefile b/projects/content-store/Makefile index f92a3bdd..82f3cf1f 100644 --- a/projects/content-store/Makefile +++ b/projects/content-store/Makefile @@ -1,2 +1,2 @@ content-store: bundle-content-store router-api publishing-api - $(GOVUK_DOCKER) run $@-lite bin/rake db:setup + $(GOVUK_DOCKER) run $@-lite bin/rake db:prepare