fix(repo): define all_tenants/0 as empty for non-multitenant schema
This commit is contained in:
parent
b5756d8e00
commit
9a14cedc14
1 changed files with 8 additions and 0 deletions
|
|
@ -19,4 +19,12 @@ defmodule Mv.Repo do
|
||||||
def min_pg_version do
|
def min_pg_version do
|
||||||
%Version{major: 17, minor: 2, patch: 0}
|
%Version{major: 17, minor: 2, patch: 0}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# This app does not use schema-based multitenancy, so there are no tenant
|
||||||
|
# schemas to migrate. Returning [] keeps the AshPostgres callback total
|
||||||
|
# rather than raising the default "not defined" error.
|
||||||
|
@impl true
|
||||||
|
def all_tenants do
|
||||||
|
[]
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue