Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zimbatm
on April 27, 2013
|
parent
|
context
|
favorite
| on:
Rails 4 UUID primary keys with PostgreSQL
I think the primary_key line should be:
t.primary_key :id, :type => :uuid
labria
on April 27, 2013
|
next
[–]
It's actually: t.primary_key :id, :uuid
labria
on April 27, 2013
|
prev
|
next
[–]
Sorry, fixed that.
netghost
on April 27, 2013
|
prev
|
next
[–]
That makes a lot more sense, I was staring at the example, and then just figured I'd have to try it later.
hiddenfeatures
on April 27, 2013
|
prev
[–]
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: