Skip to content

Commit f0283e8

Browse files
committed
fix: use proper migrations path configuration
1 parent bb14fc0 commit f0283e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/migration_generator/migration_generator.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ defmodule AshPostgres.MigrationGenerator do
912912
Path.join(priv, "tenant_migrations")
913913
end
914914
else
915-
if path = opts.migration_path || config[:tenant_migrations_path] do
915+
if path = opts.migration_path || config[:migrations_path] do
916916
path
917917
else
918918
priv =

lib/repo.ex

+1
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ defmodule AshPostgres.Repo do
304304
prefer_transaction?: 0,
305305
prefer_transaction_for_atomic_updates?: 0,
306306
tenant_migrations_path: 0,
307+
migrations_path: 0,
307308
default_prefix: 0,
308309
override_migration_type: 1,
309310
create?: 0,

0 commit comments

Comments
 (0)