« Previous | Next » 

Revision c4122d9b

IDc4122d9b12e02c39e164cac6c565a8e6b81b3333
Parent 16fec8c9
Child 7e335158

Added by Bastian Waidelich about 7 years ago

[BUGFIX] Adjust code migration identifier pattern to contain the full timestamp

Previously code migrations are expected to have a class name with the
pattern ``Version<YYYYMMDDhhmm>`` and the unique identifier was
determined extracting the last 12 characters of the class name (which
are expected to be the timestamp).

With this change everything after the "Version" string is considered for
the identifier, allowing the timestamp to contain seconds as well.

This also adjusts existing code migrations to use the full timestamp in
order to establish the new guideline (note: those migrations still
return the old identifier so that they won't be applied again with a
new identifier).

Change-Id: Id730f54248b224a6cd29ddaa1ee9eb0ba54af48f
Fixes: FLOW-110
Releases: master, 2.3, 2.2, 2.1, 2.0

  • added
  • modified
  • copied
  • renamed
  • deleted