From ff91fe137d10931102e888c8cfa76fd6e45a8b54 Mon Sep 17 00:00:00 2001 From: sam Date: Thu, 5 Oct 2023 19:41:42 +0100 Subject: [PATCH] build: return success on schema preexist or create --- src/backend/migrate-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/migrate-entrypoint.sh b/src/backend/migrate-entrypoint.sh index 763095f26e..351a4fbb08 100644 --- a/src/backend/migrate-entrypoint.sh +++ b/src/backend/migrate-entrypoint.sh @@ -70,7 +70,7 @@ create_db_schema_if_missing() { pretty_echo "Creating schema." psql "$db_url" -f "/opt/migrations/init/fmtm_base_schema.sql" pretty_echo "Schema created successfully." - return 1 + return 0 fi }