Update DBIServer to make the relationship to another server public.

dev
KKlochko 1 month ago
parent 59e2d2f8a1
commit f4eb929401

@ -103,7 +103,9 @@ defmodule DecentralisedBookIndex.Metadata.DBIServer do
end end
relationships do relationships do
belongs_to :dbi_server, Metadata.DBIServer belongs_to :dbi_server, Metadata.DBIServer do
public? true
end
has_many :author, Metadata.Author has_many :author, Metadata.Author
has_many :author_alias_registries, Metadata.AuthorAliasRegistry has_many :author_alias_registries, Metadata.AuthorAliasRegistry

Loading…
Cancel
Save