version property

String? version
getter/setter pair

Monotonic 14-digit UTC timestamp (YYYYMMDDHHMMSS), matching the timestamp prefix of the developer's migration filename.

Constrained to ^[0-9]{14}$. - When specified (file migrations): If version is already recorded in firebasesql.schema_migrations, the backend verifies that sql matches the recorded statements and skips execution. If version is unapplied, the backend validates version > MAX(applied_version) and records the value unchanged, so the ledger row and the on-disk filename stay identical. - When omitted (Console/ad-hoc): Backend auto-generates a 14-digit UTC timestamp.

Optional.

Implementation

core.String? version;