This commit is contained in:
eskima committed 2026-06-04 15:45:20 +08:00
commit 440f572834
53 files changed
+12776

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
set -e
# 启动前确保数据库表已就绪(SQLite/Postgres 均适用)。
# 幂等:已存在则无操作。
echo "[entrypoint] syncing database schema..."
npx prisma db push --skip-generate
echo "[entrypoint] starting daily-bot-nest..."
exec node dist/main.js