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