mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 13:33:50 +12:00
chore: fix default foreign key name
This commit is contained in:
parent
7845126037
commit
aa49b0f4ea
1 changed files with 1 additions and 1 deletions
|
@ -1565,7 +1565,7 @@ defmodule AshPostgres.MigrationGenerator do
|
|||
|> Map.put_new(:on_update, nil)
|
||||
|> Map.update!(:on_delete, &(&1 && String.to_atom(&1)))
|
||||
|> Map.update!(:on_update, &(&1 && String.to_atom(&1)))
|
||||
|> Map.put(:name, Map.get(references, :name) || "#{table}_#{attribute.name}")
|
||||
|> Map.put(:name, Map.get(references, :name) || "#{table}_#{attribute.name}_fkey")
|
||||
|> Map.put_new(:multitenancy, %{
|
||||
attribute: nil,
|
||||
strategy: nil,
|
||||
|
|
Loading…
Reference in a new issue