Describe the bug
Updating from 3.15.2 to 3.16 fails at the migration due to the missing prisma.config.ts in the packages/prisma folder
typebot-builder-1 | - event [next-runtime-env] read environment variables prefixed with 'NEXT_PUBLIC_' from process.env.
typebot-builder-1 | - ready [next-runtime-env] wrote browser runtime environment variables to '/app/apps/builder/public/__ENV.js'.
typebot-builder-1 | Prisma schema loaded from packages/prisma/postgresql/schema.prisma.
typebot-builder-1 | Error: The datasource.url property is required in your Prisma config file when using prisma migrate deploy.
To Reproduce
- Update Instance
- See Error Log
Fix:
Copy the prisma.config.ts into the docker image at /app/packages/prisma/prisma.config.ts and define --config inside the entrypoint
node@ede2d1d0fbcf:/app$ ./node_modules/.bin/prisma migrate deploy --schema=packages/prisma/postgresql/schema.prisma --config packages/prisma/prisma.config.ts
Describe the bug
Updating from 3.15.2 to 3.16 fails at the migration due to the missing prisma.config.ts in the packages/prisma folder
To Reproduce
Fix:
Copy the prisma.config.ts into the docker image at /app/packages/prisma/prisma.config.ts and define --config inside the entrypoint