20 days ago
Hi Team,
I need to run a database migration for the "Twenty" service in my project stunning-ambition.
When I put npx prisma migrate deploy in the "Start Command" field, it fails with the error: Error: Could not find Prisma Schema.
This suggests it's running from the wrong working directory.
What is the correct, full command I should use in the "Start Command" to run this migration successfully just once? I tried running ls -la / via the "Start Command" to find the correct application directory, but it was failed
2 Replies
20 days ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
20 days ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 20 days ago
20 days ago
Hello! First of all, is there any reason why you are running migrations in the start command instead of a pre-deploy command?