Join Slack
Powered by
also, is it possible to make the datasource provid...
# orm-help
p
Phorcys
08/12/2022, 11:52 AM
also, is it possible to make the datasource provider tied to an env variable or a config file ?
✅ 1
n
Nurul
08/12/2022, 12:12 PM
Hey 👋 Welcome to our community! 🙌 No, it’s not possible to provide datasource through env variables for now.
✅ 1
Nurul
08/12/2022, 12:13 PM
Here’s the reason for not allowing data source to be dynamic:
https://www.prisma.io/docs/concepts/components/prisma-migrate/prisma-migrate-limitations-issues#you-cannot-automatically-switch-database-providers
b
Bastien Etienne
08/12/2022, 12:18 PM
If you have 2 SGB, look around Micro Services and Message Broker (RabbitMQ)
n
Nurul
08/12/2022, 12:18 PM
Here are the GitHub Issues which had discussion regarding making data source dynamic:
#1487
and
#3834
4
Views
Open in Slack
Previous
Next