Skip to content

Commit c901774

Browse files
committed
fix: internal_exec_query not yet in rails
1 parent 10fdc7e commit c901774

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
@@ -74,7 +74,7 @@ def disable_referential_integrity
7474
# Copy/paste of the `#foreign_keys(table)` method adapted to return every single
7575
# foreign key in the database.
7676
def all_foreign_keys
77-
fk_info = internal_exec_query(<<~SQL, "SCHEMA")
77+
fk_info = exec_query(<<~SQL, "SCHEMA")
7878
SELECT CASE
7979
WHEN n1.nspname = current_schema()
8080
THEN ''

0 commit comments

Comments
 (0)