I recently migrated my rails app to PostgreSQL in order to take advantage of fulltext search.
Since the migration coincided with moving to a new webhost, the steps for m
In Rails you can use the command
ActiveRecord::Base.connection.reset_pk_sequence!('users')
to bring the primary key index for the User table in sync again.