```ruby
sql = case DevelopmentModelClass.connection.adapter_name.downcase
      when /^mysql/
        'SET FOREIGN_KEY_CHECKS=1;'
      when /^postgresql/
        "ALTER TABLE #{table_name} ENABLE TRIGGER ALL;"
      end
DevelopmentModelClass.connection.execute(sql)
```