Friday, 28 April 2017

Multiple unique columns sqlite3

I'm working on a web application which has to do with restaurant menu. I'm using node for back-end and sqlite3 for database system. In my 'items' table i have a field called barcode which is of-course unique, but the user can input some "extra barcodes". What i need is a way to make barcode field and extra_barcodes fields unique between each others.



via Dion Zac

No comments:

Post a Comment