简体   繁体   English

liquibase 将现有变更日志从 mysql 更改为 mssql

[英]liquibase change existing changelog from mysql to mssql

I have all my liquibase changelogs with respect to MySQL database now we are planning to move to MSSQL so when I try to run the existing changelogs which is working fine for MySQL is failing for MSSQL.我有关于 MySQL 数据库的所有 liquibase 更改日志,现在我们正计划迁移到 MSSQL,因此当我尝试运行适用于 MySQL 的现有更改日志时,MSSQL 失败。 Is there any configuration in liquibase to handle database migration? liquibase 中是否有任何配置来处理数据库迁移?

getting below error when I run changelogs on MSSQL当我在 MSSQL 上运行更改日志时出现以下错误

addAfterColumn is not allowed on mssql mssql 上不允许 addAfterColumn

you can use dbms attribute and configure changelogs to be executed only on given databases.您可以使用dbms属性并将更改日志配置为仅在给定数据库上执行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Liquibase 未从 Spring Boot 中的现有数据库在 src/main/resources 文件夹中生成 changeLog 文件 - Liquibase not generating changeLog file in src/main/resources folder from existing DB in Spring Boot 使用Liquibase从现有数据库(包括存储的proc)创建数据库changelog xml文件 - Creating a database changelog xml file from an existing database (including stored procs) using Liquibase liquibase changelog文件未从默认值更新 - liquibase changelog file is not updating from default value Liquibase:从测试链接主 yaml 更改日志 - Liquibase : link main yaml changelog from test Liquibase - 从数据库更改中更新changelog XML文件 - Liquibase - Update changelog XML file from database changes 有没有办法从liquibase changelog调用我的java代码(jar,class)? - Is there a way to invoke my java code (jar, class) from liquibase changelog? Liquibase更新日志不存在-ChangeLogParseException - Liquibase changelog does not exist - ChangeLogParseException Liquibase 双向关系变更日志顺序 - Liquibase bidirectional relationships changelog order Liquibase 找不到更改日志文件 - Liquibase cannot find changelog file 如何使用 Liquibase changelog.yaml 文件和 Spring Boot 为 MySQL 表中的列设置默认值 - How to set the default value for a column in a MySQL table using Liquibase changelog.yaml file and Spring Boot
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM