Open lapresa opened 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. :)
:+1:
+1
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. :)