We are building a TeamCity projectCurrently, which would be getting some scripts from the SVN location and deploy against the production database server. This scripts will be generated by our developers, which have all the checks in place, so it can be executed as many times as we wanteddeverloper group has started using DbUp and Octopus to without causing any issuedo Continuous Integration on SQL Database Deployments. We have created a SQLDomain user, so, we can use SQLCMD option under TeamCity which will utilized to deploy scripts against database serversdo the SQL Database deployment via Octopus server.
I wanted to know, what permissions should a SQLDomain user needs to successfully do the database deployment viashould be granted for Continuous Integration process?
I don't want to give "SysAdmin" permission to this SQLDomain user. Is there any particular permissions I can give to this SQL user, so it can successfully do the deployment?
Script could include: Create a table, drop an old table, alter a table, truncate the records, update the records..... We DBA group manually deploy scripts at the moment, we wanted to leverage TeamCity so we can deploy automatically.Do people have implemented above combination for there Continuous Integration of DB Deployment?