Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zimbatm
· 13y ago · 0 comments
I think the primary_key line should be:
t.primary_key :id, :type => :uuid
Comments
[–]
labria
13y ago
It's actually: t.primary_key :id, :uuid
[–]
labria
13y ago
Sorry, fixed that.
[–]
netghost
13y ago
That makes a lot more sense, I was staring at the example, and then just figured I'd have to try it later.
[–]
hiddenfeatures
13y ago
I was really wondering where the difference to the normal syntax was. Thanks for the clarification