Class: DbSubsetter::Dialect::MySQL
- Defined in:
- lib/db_subsetter/dialect/my_sql.rb
Class Method Summary collapse
Class Method Details
.import ⇒ Object
4 5 6 7 8 |
# File 'lib/db_subsetter/dialect/my_sql.rb', line 4 def self.import ActiveRecord::Base.connection.execute("SET FOREIGN_KEY_CHECKS=0;") yield ActiveRecord::Base.connection.execute("SET FOREIGN_KEY_CHECKS=1;") end |
.integrity_problems ⇒ Object
10 11 12 |
# File 'lib/db_subsetter/dialect/my_sql.rb', line 10 def self.integrity_problems raise NotImplementedError.new("integrity_problems not implemented for MySQL") end |