Key/value migrations based on their version
Map<int, Migration> get migrationByVersion => {for (final m in migrations) m.version: m};