Auto-incrementing from 0 in Rails migrations

Posted by Shreyas Satish on Stack Overflow See other posts from Stack Overflow or by Shreyas Satish
Published on 2010-04-29T07:48:45Z Indexed on 2010/04/29 8:07 UTC
Read the original article Hit count: 587

I needed an id field in my rails migration that auto-increments from 0 and not 1.Any idea? Thanks & Cheers !

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about migration