I am working on a requirement in ASP.NET Web API which needs two identical databases.
I have created two identical databases on the same server. Let's say one is for the development and another for testing.
I want to replicate all schema (like stored procedure, view & table) changes instantly from one another database to the other.
I am not worried about the data replication, I just need to make sure both the databases have exactly the same schema definition.
I have tried generating a schema from one database and updating the other one periodically. But now, I want to replicate changes instantly to the other database. So when I update a stored procedure or view in the development database, the same changes should also be applied to the testing database immediately.
I Requests you to tell me if it's possible or if there's another approach to achieve this