is it possible to build up the datasource url programmatically? Seems like I can either give it a string or env(). I want to construct it using multiple env vars (PGHOST/PGUSER/PGPASSWORD/etc)
John Cantrell
11/06/2020, 7:26 PM
oh sounds like as long as I programmatically set the env var before instantiating a prisma client I should be ok
John Cantrell
11/07/2020, 2:56 AM
seems like this might not work when running migrate
r
Ryan
11/09/2020, 7:34 AM
@John Cantrell 👋
You would need to run Migrate commands via a script if you need to create the env programatically.