Sha256: e08f3b02ab0b9451c39d43db441dcc2abbf07a500587e617b96e388cb12099e9

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

require 'active_record/connection_adapters/abstract_mysql_adapter'
#Back port from Rails 4 for MySQL 5.7 compatibility
#Remove when upgrading to Rails 4
module ActiveRecord
  module ConnectionAdapters
    class AbstractMysqlAdapter
      NATIVE_DATABASE_TYPES[:primary_key] = "int(11) auto_increment PRIMARY KEY"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
applicants-0.11.0 spec/dummy/config/initializers/_mysql_primary_key_fix.rb