sqlite - How do I create multiple tags per day in Liquibase? -


i'm attempting use liquibase manage backend sqlite database of appliance. idea being that, on install, application can generate rollback scripts can used if application uninstalled , replaced earlier version.

the issue comes running tagdatabase changeset overwrite tags done earlier in day. checking documentation reveals tagging operating runs following example sql:

update databasechangelog set tag = 'version_1.3' dateexecuted = (select max(dateexecuted) (select dateexecuted databasechangelog) x); 

so, there way within bounds of liquibase of doing multiple tags in day? or need cook own sql altering databasechangelog table? i'd rather not latter break future versions of liquibase.

ok, see looks in database dateexecuted without time (only date). isn't possible change date type time? i've seen discussion here: https://github.com/liquibase/liquibase/pull/392 looks known issue, in list of databases mention in fix there no sqllite. have @ latest version , if not fixed there not supported yet , need implement tag logic using plain sql queries or custom change (http://www.liquibase.org/documentation/changes/custom_change.html).


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -