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 3fd47fe commit 59f43c5Copy full SHA for 59f43c5
lib/active_record/connection_adapters/cockroachdb/referential_integrity.rb
@@ -88,7 +88,7 @@ def disable_referential_integrity
88
# Copy/paste of the `#foreign_keys(table)` method adapted to return every single
89
# foreign key in the database.
90
def all_foreign_keys
91
- fk_info = internal_exec_query(<<~SQL, "SCHEMA")
+ fk_info = exec_query(<<~SQL, "SCHEMA")
92
SELECT CASE
93
WHEN n1.nspname = current_schema()
94
THEN ''
0 commit comments