Skip to content

Commit 59f43c5

Browse files
committed
fix: internal_exec_query not yet in rails
1 parent 3fd47fe commit 59f43c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_record/connection_adapters/cockroachdb/referential_integrity.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def disable_referential_integrity
8888
# Copy/paste of the `#foreign_keys(table)` method adapted to return every single
8989
# foreign key in the database.
9090
def all_foreign_keys
91-
fk_info = internal_exec_query(<<~SQL, "SCHEMA")
91+
fk_info = exec_query(<<~SQL, "SCHEMA")
9292
SELECT CASE
9393
WHEN n1.nspname = current_schema()
9494
THEN ''

0 commit comments

Comments
 (0)