MySQL specific query to drop a foreign key
@see DataMapper::Constraints::Adapters::DataObjectsAdapter#destroy_constraints_statement
@api private
# File lib/data_mapper/constraints/adapters/mysql_adapter.rb, line 20 20: def destroy_constraints_statement(storage_name, constraint_name) 21: DataMapper::Ext::String.compress_lines( ALTER TABLE #{quote_name(storage_name)} DROP FOREIGN KEY #{quote_name(constraint_name)}) 22: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.