Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think the primary_key line should be:

    t.primary_key :id, :type => :uuid


It's actually: t.primary_key :id, :uuid


Sorry, fixed that.


That makes a lot more sense, I was staring at the example, and then just figured I'd have to try it later.


I was really wondering where the difference to the normal syntax was. Thanks for the clarification




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: