[英]Azure CICD for SQL Server database deployment using DbUp library
I am trying to deploy the database changes through Azure CICD using the DbUp library.我正在尝试使用 DbUp 库通过 Azure CICD 部署数据库更改。 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?有人可以分享我们如何使用 DbUp 部署 SQL 服务器数据库更改吗?
You may use extension - DbUp Migration您可以使用扩展 - DbUp 迁移
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'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.