Disable auto-seeding on startup and fix manual seed script

This commit is contained in:
Ruslan Bakiev
2026-02-19 17:06:00 +07:00
parent a25049989c
commit e5de1b8753
4 changed files with 0 additions and 8 deletions

View File

@@ -24,7 +24,6 @@ OPENAI_MODEL="gpt-4o-mini"
CF_AGENT_MODE="langgraph"
CF_WHISPER_MODEL="Xenova/whisper-small"
CF_WHISPER_LANGUAGE="ru"
CF_RUN_SEED_ON_START="0"
TELEGRAM_BOT_TOKEN=""
TELEGRAM_WEBHOOK_SECRET=""

View File

@@ -230,7 +230,6 @@ async function main() {
startsAt: firstStart,
endsAt: plusMinutes(firstStart, 30),
note: "Подтвердить рамки интеграции, текущий стек и метрики успеха пилота.",
status: "done",
},
{
teamId: team.id,
@@ -239,7 +238,6 @@ async function main() {
startsAt: secondStart,
endsAt: plusMinutes(secondStart, 45),
note: "Проверить маппинг API, границы ETL и ограничения для AI-ассистента.",
status: "done",
},
];
}),

View File

@@ -37,8 +37,4 @@ done
npx prisma db push
if [ "${CF_RUN_SEED_ON_START:-0}" = "1" ]; then
node prisma/seed.mjs
fi
exec npm run dev -- --host 0.0.0.0 --port 3000