« Previous | Next » 

Revision c2562a16

IDc2562a16eab397f8532d087baaf3f9f467e2440d
Parent 036921d3
Child 58e7ee94, 2f964c90

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