« Previous | Next » 

Revision f69d7163

IDf69d716349fd7efd906dd1bcbb7098fb5b5646b2
Parent 683c56d1
Child 56992832, a6876486

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