🔧 fix(auth): skip migrations in Docker entrypoint

- 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 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2025-12-02 14:41:34 +01:00
parent 19500e8467
commit fa13f98a65

View file

@ -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..."