added collate same as barcode in items
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 6 Oct 2018 16:08:18 +0000 (18:08 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 6 Oct 2018 16:08:18 +0000 (18:08 +0200)
ffzg_inventura.sql

index 94109bb..7bbd382 100644 (file)
@@ -4,4 +4,6 @@ create table ffzg_inventura (
        source_id varchar(20) not null,
        timestamp datetime default now(),
        unique key ffzg_inventura_unique (barcode,date_scanned,source_id)
-); 
+) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
+-- this collate has to be same as barcode in items check it with:
+-- show create table items