From fa13f98a65067631d7b6716331ee2d055dc7ac1b Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Tue, 2 Dec 2025 14:41:34 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix(auth):=20skip=20migrations?= =?UTF-8?q?=20in=20Docker=20entrypoint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Skip automatic migrations in Docker - tables are managed via 'pnpm db:push' locally - Simplifies startup and avoids migration conflicts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- services/mana-core-auth/docker-entrypoint.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/services/mana-core-auth/docker-entrypoint.sh b/services/mana-core-auth/docker-entrypoint.sh index 844528896..59dfc9cdb 100755 --- a/services/mana-core-auth/docker-entrypoint.sh +++ b/services/mana-core-auth/docker-entrypoint.sh @@ -1,12 +1,9 @@ #!/bin/sh set -e -echo "🔄 Running database migrations..." - -# Run actual migrations (creates schemas + tables) -pnpm migration:run - -echo "✅ Migrations complete" +# Skip migrations in Docker - tables are managed via 'pnpm db:push' locally +# For fresh databases, run 'pnpm db:push' manually first +echo "📋 Skipping migrations (run 'pnpm db:push' locally if needed)" # Start the application echo "🚀 Starting Mana Core Auth..."