We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c901774 commit 9854845Copy full SHA for 9854845
lib/active_record/connection_adapters/cockroachdb/referential_integrity.rb
@@ -120,7 +120,7 @@ def all_foreign_keys
120
}
121
options[:on_delete] = extract_foreign_key_action(row["on_delete"])
122
options[:on_update] = extract_foreign_key_action(row["on_update"])
123
- options[:deferrable] = extract_constraint_deferrable(row["deferrable"], row["deferred"])
+ options[:deferrable] = extract_foreign_key_deferrable(row["deferrable"], row["deferred"])
124
125
options[:validate] = row["valid"]
126
0 commit comments