Method: Sequel::Postgres::DatabaseMethods#serial_primary_key_options
- Defined in:
- lib/sequel/adapters/shared/postgres.rb
#serial_primary_key_options ⇒ Object
PostgreSQL uses SERIAL psuedo-type instead of AUTOINCREMENT for managing incrementing primary keys.
449 450 451 |
# File 'lib/sequel/adapters/shared/postgres.rb', line 449 def {:primary_key => true, :serial => true, :type=>Integer} end |