Hacker News new | ask | show | jobs
by zimbatm 4795 days ago
I think the primary_key line should be:

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

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