MigrationManager.fromDirectory constructor

MigrationManager.fromDirectory(
  1. Directory projectDirectory, {
  2. String? runMode,
})

Reads migrations from <projectDirectory>/migrations/.

Implementation

MigrationManager.fromDirectory(Directory projectDirectory, {String? runMode})
  : this(
      FileSystemMigrationArtifactStore(projectDirectory: projectDirectory),
      runMode: runMode,
    );