salix/db/versions/11165-grayAralia/00-firstScript.sql

8 lines
413 B
SQL

-- Place your SQL code here
ALTER TABLE IF EXISTS vn.productionConfig
CHANGE COLUMN IF EXISTS scannableCodeType scannableCodeType__ enum('qr','barcode')
CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT 'barcode' NOT NULL,
CHANGE COLUMN IF EXISTS scannablePreviusCodeType scannablePreviusCodeType__ enum('qr','barcode')
CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT 'barcode' NOT NULL;