RubyFlow The Ruby and Rails community linklog

Resetting auto increment in Rails

I wrote a short article about resetting the auto incrementing id in a Rails app using PostgreSQL after importing old data in a new app.

I hope it saves you some time.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in