We have six businesses each corresponding to SQL Server 2012 DBs having identical Schemas. These DBs are refreshed each morning from Data on our Unix systems. The data in each table is truncated and is re-loaded from unix.
What I would like to do is have a master DB which has the same schema as the other DBs. When I make changes to the the schema in the master DB I want those changes pushed out to the other DBs. Change include the addition, modification and deletion of the following objects:
Table
Index
Views
Stored procedure
Scaler Function
This "sync" would be run as the first step of the morning refresh so data does not have to be retained. Tables, etc can be dropped and recreated if that is the easiest way. I want this automated so that I don't' have to manually create a script file each time I add an index etc to the master DB.
Ideally this would be restricted to objects associated with a certain SQL Server schema.