migrationsPath property

String? get migrationsPath

Migrations directory path

Implementation

String? get migrationsPath {
  if (serverPath == null) return null;
  final migrationsDir = Directory(p.join(serverPath!, 'migrations'));
  return migrationsDir.existsSync() ? migrationsDir.path : null;
}