我确实运行此查询以生成.sql格式的changelogFile
liquibase --driver=com.mysql.jdbc.Driver
--classpath=mysql-connector-java-5.1.24-bin.jar
--changeLogFile=test_diff.sql
--url="jdbc:mysql://localhost/provision"
--username=root
--password=**
diffChangeLog
--referenceUrl=jdbc:mysql://localhost/provision_old
--referenceUsername=root
--referencePassword=***
我得到以下错误
Liquibase Update Failed: No serializer associated with the filename or extension 'sql' SEVERE 5/2/13 12:50 PM:liquibase: No serializer associated with the filename or extension 'sql' java.lang.RuntimeException: No serializer associated with the filename or extension 'sql'
是否可以在.sql格式中生成changelogfile?
我试图根据特定日期回滚数据库。
liquibase rollbackToDate 2013-05-14 10:13:16
它引发以下错误:
Error:Unexpected date/time format.
Run Code Online (Sandbox Code Playgroud)
请为此共享确切的命令。
liquibase ×2