Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Re : CURRENT_TIMESTAMP with mariadb

$
0
0
With some testing, it appears that the maria support works just fine, they do a good job of pretending they are mysql. Even using a "jdbc:mariadb" URL with org.mariadb.jdbc.Driver.

So the issue you are seeing is actually expected behavior. Liquibase uses CURRENT_TIMESTAMP as a placeholder for "The current timestamp function on this database" which on mariadb is NOW() so it helpfully converts it for you.

Are you wanting to retain CURRENT_TIMESTAMP in your sql?

Nathan

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>