Skip to content

Commit

Permalink
SQL Server does not support 'restrict' for 'on_update' or 'on_delete'
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanharan committed Dec 16, 2024
1 parent 1d1ea09 commit a06eeb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/cases/coerced_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,9 @@ def test_add_on_delete_restrict_foreign_key_coerced
end
end

# SQL Server does not support 'restrict' for 'on_update' or 'on_delete'.
coerce_tests! :test_remove_foreign_key_with_restrict_action

# Error message depends on the database adapter.
coerce_tests! :test_add_foreign_key_with_if_not_exists_not_set
def test_add_foreign_key_with_if_not_exists_not_set_coerced
Expand Down

0 comments on commit a06eeb4

Please sign in to comment.