File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ defmodule AshPostgres.Repo do
5252 @ doc "Return a list of all schema names (only relevant for a multitenant implementation)"
5353 @ callback all_tenants ( ) :: [ String . t ( ) ]
5454 @ doc "The path where your tenant migrations are stored (only relevant for a multitenant implementation)"
55- @ callback tenant_migrations_path ( ) :: String . t ( )
55+ @ callback tenant_migrations_path ( ) :: String . t ( ) | nil
5656 @ doc "The path where your migrations are stored"
57- @ callback migrations_path ( ) :: String . t ( )
57+ @ callback migrations_path ( ) :: String . t ( ) | nil
5858 @ doc "The default prefix(postgres schema) to use when building queries"
5959 @ callback default_prefix ( ) :: String . t ( )
6060 @ doc "Allows overriding a given migration type for *all* fields, for example if you wanted to always use :timestamptz for :utc_datetime fields"
@@ -68,6 +68,8 @@ defmodule AshPostgres.Repo do
6868 adapter: Ecto.Adapters.Postgres ,
6969 otp_app: otp_app
7070
71+ @ behaviour AshPostgres.Repo
72+
7173 defoverridable insert: 2 , insert: 1 , insert!: 2 , insert!: 1
7274
7375 def installed_extensions , do: [ ]
You can’t perform that action at this time.
0 commit comments