Skip to content

Commit

Permalink
Update Multi tenancy with foreign keys.md
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Aug 27, 2024
1 parent b59453f commit 02e6918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/howtos/Multi tenancy with foreign keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defmodule MyApp.Repo do
@impl true
def prepare_query(_operation, query, opts) do
cond do
opts[:skip_org_id] || opts[:ecto_query] in [:schema_migrations, :preload] ->
opts[:skip_org_id] || opts[:ecto_query] in [:schema_migration, :preload] ->
{query, opts}

org_id = opts[:org_id] ->
Expand Down

0 comments on commit 02e6918

Please sign in to comment.