« Previous | Next » 

Revision 5e2ca2fd

ID5e2ca2fdad54f0b892a8248c004b748e3622434b
Parent da75a381
Child 4d3bef9e

Added by Bastian Waidelich almost 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