version property

dynamic get version

The current version as specified by the migrations.

Implementation

get version {
  return migrations.isEmpty ? 0 : migrations.last.toVersion;
}