You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wondered if it would be possible to conditionally run the scripts in a folder based on an environment variable? For example, I only to load the DB with test data when running db-up locally.
The text was updated successfully, but these errors were encountered:
I'm not fully understand your case. You can use environment variables in config file or scripts. For example, you can use environment variable for connection string:
Hi,
Perhaps I didn't explain well. I have a collection of seed data scripts. I would like to run these after my schema changes, but only in a specific environment. Does that make sense?
Hi, thanks for your work on this project.
I wondered if it would be possible to conditionally run the scripts in a folder based on an environment variable? For example, I only to load the DB with test data when running db-up locally.
The text was updated successfully, but these errors were encountered: