Method: Sequel::Postgres::DatabaseMethods#serial_primary_key_options

Defined in:
lib/sequel/adapters/shared/postgres.rb

#serial_primary_key_optionsObject

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 serial_primary_key_options
  {:primary_key => true, :serial => true, :type=>Integer}
end