Sha256: 04e1fd2f22f631410baada6e25a8aa79c2398d2d6c6d4ec939c688dee19ff624
Contents?: true
Size: 459 Bytes
Versions: 8
Compression:
Stored size: 459 Bytes
Contents
# XXX: https://github.com/waka/activerecord-mysql-unsigned/blob/v0.3.1/lib/activerecord-mysql-unsigned/active_record/v3/connection_adapters/abstract/schema_definitions.rb#L14 class ActiveRecord::ConnectionAdapters::TableDefinition alias primary_key_without_unsigned primary_key def primary_key(name, type = :primary_key, options = {}) primary_key_without_unsigned(name, type, options.merge(primary_key: true).reverse_merge(unsigned: true)) end end
Version data entries
8 entries across 8 versions & 1 rubygems