I am using the Visual Studio Database Project for my database. I have it setup to auto-build twice a week. When it builds it drops the database and recreates it from scripts.
I really like the tear down and re-build system as it prevents junk from accumulating in my Development databases.
I now need to add a second database to the mix and get it receiving some replicated tables from the first database.
I know that replication is a server level thing, but I am hoping to just add some post deploy scripts to my database and have that script setup the replication publisher and subscriber (for my first and second database respectively).
Is this going to work? I don't really know much of the in depth stuff with replication. If there is an easier way, I would love to hear it.