I am trying to deploy the database changes through Azure CICD using the DbUp library. But I don't really understand what are the steps to be followed are, and how to start off initially.
Can somebody share how we can deploy the SQL Server database changes using DbUp?
You may use extension - DbUp Migration
All what you need then it provide:
- task: UpdateDatabaseWithDbUp@2
inputs:
ConnectionString: 'Server=$(DbUp.Server);Database=$(DbUp.Database);User ID=$(DbUp.UserId);Password=$(DbUp.Password);Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;'
ScriptPath: 'scripts'
JournalSchemaName: 'dbo'
JournalTableName: '_SchemaVersions'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.