method

check_all_foreign_keys_valid!

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::AbstractAdapter
check_all_foreign_keys_valid!() public

Override to check all foreign key constraints in a database. The adapter should raise a +ActiveRecord::StatementInvalid+ if foreign key constraints are not met.

Show source
Register or log in to add new notes.