Annotation Interface Migrate
A migration of a storage record, as
TableDefinition.migrate(int, Function) adds one: turns a row stored
with schema version from() into the record. Declared in the record itself, as a static
method with one Row parameter that returns the record; it may be private. A record has
at most one migration per version, whether from this annotation or from
TableDefinition.migrate(int, Function). See Schema.-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionintThe stored schema version this method migrates from; at least 1.
-
Element Details
-
from
int fromThe stored schema version this method migrates from; at least 1.
-