Re: Adding a non incremental primary key

2015-11-20 Thread John Andersen
Does your product code contain meanings, ie. part of the product code symbolized something specific? If so, I would just go with a normal auto-incrementing primary key and just make the product code a unique column in the table. Enjoy, John On Friday, 20 November 2015 13:53:12 UTC+2, Jireh Pad

Adding a non incremental primary key

2015-11-20 Thread Jireh Padua
Hi, I'm using Cakephp 3.0 and I'm about to create a table which uses a non-incremental primary key (product code). I've been searching for this on google but couldnt' find one... Can I have a help from you? Thanks! God bless! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us