I am m working on a Visual Studio SQL Database Project, and I have successfully imported my database schema. I can see it created dbo/Tables
and Security
folder automatically after importing the database.
However, I also have some environment specific SeedData
scripts (for dev, sit, etc.) that I need to include. Where should I add these scripts?
I want to ensure that my GitHub action deployment process handles these seed data scripts correctly across different environments.
Any advice or best practices would be appreciated!
Regarding the two methods you mentioned for handling environment-specific SeedData scripts in a Visual Studio SQL Database project, here are some suggestions:
Whichever method you choose, make sure your GitHub Actions deployment process handles these seed data scripts correctly.