fix(repo): define all_tenants/0 as empty for non-multitenant schema
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
Moritz 2026-06-02 12:26:35 +02:00
parent b5756d8e00
commit 9a14cedc14

View file

@ -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