When dealing with MSSQL, there are loads of options for how to add the schema (including indexes) into version control (database projects, Redgate SQL Source Control, etc.), but we're looking to introduce Couchbase into our application, and I'm looking for a way to add indexes into version control (currently using Git with TFS).
We've got multiple environments (test, staging, live, etc.), and we're going to want to make sure we deploy the same index changes to each Couchbase cluster set up for each environment.
How do we ensure that we can bundle Couchbase index alongside a specific release, or does this need to be a manual job?