Module: BigintPrimarykey::PostgresBigintPrimaryKey
- Defined in:
- lib/bigint_primarykey.rb
Instance Method Summary collapse
Instance Method Details
#primary_key(name, type = :primary_key, **options) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/bigint_primarykey.rb', line 15 def primary_key(name, type = :primary_key, **) if type == :primary_key super(name, :bigserial, **) else super end end |