Commit b1c7ee37 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre Committed by Andreas Brandl

Add bigserial as a native database type for MySQL adapter

parent 3fa2eb4e
require 'active_record/connection_adapters/abstract_mysql_adapter'
module ActiveRecord
module ConnectionAdapters
class AbstractMysqlAdapter
NATIVE_DATABASE_TYPES.merge!(
bigserial: { name: 'bigint(20) auto_increment PRIMARY KEY' }
)
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment