I'm hoping to use an SSDT database project alongside a migration-based database development tool like grate. The idea here would be to use migration scripts as the source of truth for the database schema, but to import into the database project to generate the more complex change scripts (for which project compilation would provide extra confidence). I'm hoping that I could script a process that runs migration scripts, then recreates/updates the database project, so that it's automatically kept in sync.
Is it possible to programmatically import from a database into a new (or existing) SSDT database project? I'm looking to do something equivalent to importing into a Database Project using SQL Server, but programmatically.
I don't think that it is:
- I can't find any documentation to suggest that it is
- I've found a few SO answers stating that it's not:
The most recent answer is nearly 6 years old, and I'm not certain that the situation hasn't changed since then. It would be nice to have a definitive answer either way.