Skip to content

Commit a06eeb4

Browse files
committed
SQL Server does not support 'restrict' for 'on_update' or 'on_delete'
1 parent 1d1ea09 commit a06eeb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/cases/coerced_tests.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,6 +1190,9 @@ def test_add_on_delete_restrict_foreign_key_coerced
11901190
end
11911191
end
11921192

1193+
# SQL Server does not support 'restrict' for 'on_update' or 'on_delete'.
1194+
coerce_tests! :test_remove_foreign_key_with_restrict_action
1195+
11931196
# Error message depends on the database adapter.
11941197
coerce_tests! :test_add_foreign_key_with_if_not_exists_not_set
11951198
def test_add_foreign_key_with_if_not_exists_not_set_coerced

0 commit comments

Comments
 (0)