2018-05-09 12:01:36 +05:30
|
|
|
require 'active_record/connection_adapters/abstract_mysql_adapter'
|
|
|
|
|
|
|
|
module ActiveRecord
|
|
|
|
module ConnectionAdapters
|
|
|
|
class AbstractMysqlAdapter
|
|
|
|
NATIVE_DATABASE_TYPES.merge!(
|
2019-07-31 22:56:46 +05:30
|
|
|
bigserial: { name: 'bigint(20) auto_increment PRIMARY KEY' },
|
|
|
|
serial: { name: 'int auto_increment PRIMARY KEY' }
|
2018-05-09 12:01:36 +05:30
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|