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 10fdc7e commit c901774Copy full SHA for c901774
lib/active_record/connection_adapters/cockroachdb/referential_integrity.rb
@@ -74,7 +74,7 @@ def disable_referential_integrity
74
# Copy/paste of the `#foreign_keys(table)` method adapted to return every single
75
# foreign key in the database.
76
def all_foreign_keys
77
- fk_info = internal_exec_query(<<~SQL, "SCHEMA")
+ fk_info = exec_query(<<~SQL, "SCHEMA")
78
SELECT CASE
79
WHEN n1.nspname = current_schema()
80
THEN ''
0 commit comments