ID, AUTHOR, FILENAME columns in DATABASECHANGELOG are still short when upgrading - may crash on production

Description

In / https://github.com/liquibase/liquibase/commit/19a8abb337757adac163181bc3821e6c96a41ad5#diff-0 the DATABASECHANGELOG were changed:

  • ID from 63 to 255

  • AUTHOR from 63 to 255

  • FILENAME from 200 to 255

However, the lengths remains unchanged (63, 63, 200) if the database was populated using old liquibase version (like 2.0.3).

The end result is quite dangerous

  • changesets with longer IDs work fine on continuous integration where you rebuild database each time

  • but they crash when an old database (e.g. a production database) is updated

    • what's worse, the crash is after changeset is actually applied but before it's recorded in DATABASECHANGELOG. So even if the ID is shortened, it won't be possible to re-run changeset – the actual changes are already applied

Environment

oracle

Status

Assignee

Unassigned

Reporter

Piotr Findeisen

Labels

None

Fix versions

Affects versions

Priority

Major
Configure