File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2555,13 +2555,13 @@ defmodule AshPostgres.DataLayer do
25552555 { key , name } ->
25562556 case repo . default_constraint_match_type ( :check , name ) do
25572557 { :regex , regex } ->
2558- Ecto.Changeset . check_constraint ( changeset , key ,
2558+ Ecto.Changeset . exclusion_constraint ( changeset , key ,
25592559 name: regex ,
25602560 match: :exact
25612561 )
25622562
25632563 match ->
2564- Ecto.Changeset . check_constraint ( changeset , key ,
2564+ Ecto.Changeset . exclusion_constraint ( changeset , key ,
25652565 name: name ,
25662566 match: match
25672567 )
@@ -2570,14 +2570,14 @@ defmodule AshPostgres.DataLayer do
25702570 { key , name , message } ->
25712571 case repo . default_constraint_match_type ( :check , name ) do
25722572 { :regex , regex } ->
2573- Ecto.Changeset . check_constraint ( changeset , key ,
2573+ Ecto.Changeset . exclusion_constraint ( changeset , key ,
25742574 name: regex ,
25752575 message: message ,
25762576 match: :exact
25772577 )
25782578
25792579 match ->
2580- Ecto.Changeset . check_constraint ( changeset , key ,
2580+ Ecto.Changeset . exclusion_constraint ( changeset , key ,
25812581 name: name ,
25822582 message: message ,
25832583 match: match
You can’t perform that action at this time.
0 commit comments