mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:01:08 +02:00
🔧 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:
parent
19500e8467
commit
fa13f98a65
1 changed files with 3 additions and 6 deletions
|
|
@ -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..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue