Prelang / feedback

8 stars 0 forks source link

UUID PostgresDB #12

Open lapresa opened 9 years ago

lapresa commented 9 years ago

PG support natively uuid as primary key : as you can see here it is just matter of declaring id as uuid type : http://blog.poeticoding.com/rails-using-uuid-as-a-primary-key-on-postgres-and-rails-4/

Having consecutive number as ID is not really secure and give user possibility to tamper data. :)

yordis commented 9 years ago

:+1:

betoharres commented 9 years ago

+1