Skip to content

Commit

Permalink
Merge 089d602 into 2adcb4d
Browse files Browse the repository at this point in the history
  • Loading branch information
alpaca-tc committed Jan 4, 2021
2 parents 2adcb4d + 089d602 commit eae3154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ridgepole/dsl_parser/table_definition.rb
Expand Up @@ -20,7 +20,7 @@ def column(name, type, options = {})
}
end

DEFAULT_PRIMARY_KEY_TYPE = Gem::Version.new(ActiveRecord::VERSION::STRING) >= Gem::Version.new('5.1') ? :bigint : :integer
DEFAULT_PRIMARY_KEY_TYPE = :bigint

TYPES = {
# https://github.com/rails/rails/blob/v4.2.1/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#L274
Expand Down

0 comments on commit eae3154

Please sign in to comment.