16 lines
658 B
Dart
16 lines
658 B
Dart
|
|
/// AUTOGENERATED BY SERVERPOD generate - do not remove.
|
||
|
|
/// Merging: resolve conflicts like server migration_registry.txt.
|
||
|
|
/// Updated when you run `serverpod create-migration` for the client.
|
||
|
|
library;
|
||
|
|
|
||
|
|
import 'package:serverpod_database/serverpod_database.dart';
|
||
|
|
|
||
|
|
/// Migration registry for the client-side database.
|
||
|
|
class MigrationRegistry {
|
||
|
|
/// Ordered list of all client-side database migrations.
|
||
|
|
/// New migrations are always appended at the end.
|
||
|
|
static final List<MigrationVersionSql> migrations = [];
|
||
|
|
|
||
|
|
/// List of all client-side database migration versions.
|
||
|
|
static List<String> get versions => migrations.map((m) => m.version).toList();
|
||
|
|
}
|