Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ar_native_database_types.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d7b4b3489577f820b450e0e7a56086f8dabdabd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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