Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试根据特定日期回滚数据库。
liquibase rollbackToDate 2013-05-14 10:13:16
它引发以下错误:
Error:Unexpected date/time format.
请为此分享确切的命令。
Liquibase 以以下格式查找日期:
"yyyy-MM-dd'T'HH:mm:ss"
所以试试:
2013-05-14T10:13:16
当我尝试使用 liquibase 按日期回滚时,出现错误日期格式错误。我必须以“DD-MMM-YYYY”格式提供日期格式(例如:25-OCT-2019)。这对我来说是固定的问题。
但是,我认为 liquibase 不提供回滚到特定时间。仅支持日期。