diff --git a/lib/migration_generator/migration_generator.ex b/lib/migration_generator/migration_generator.ex index 112fb321..7a7a0005 100644 --- a/lib/migration_generator/migration_generator.ex +++ b/lib/migration_generator/migration_generator.ex @@ -159,7 +159,7 @@ defmodule AshPostgres.MigrationGenerator do # Copied from ecto's mix task, thanks Ecto ❤️ config = repo.config() - if snapshot_path = opts[:snapshots_path] do + if snapshot_path = config[:snapshots_path] do snapshot_path else priv =