diff --git a/application/migrations/sqlscripts/attributes.sql b/application/migrations/sqlscripts/attributes.sql index 0a5471985..d213e2acc 100644 --- a/application/migrations/sqlscripts/attributes.sql +++ b/application/migrations/sqlscripts/attributes.sql @@ -8,7 +8,7 @@ CREATE TABLE IF NOT EXISTS `ospos_attribute_definitions` ( `deleted` TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (`definition_id`), KEY `definition_fk` (`definition_fk`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; CREATE TABLE IF NOT EXISTS `ospos_attribute_values` ( @@ -16,7 +16,7 @@ CREATE TABLE IF NOT EXISTS `ospos_attribute_values` ( `attribute_value` VARCHAR(45) NULL, `attribute_datetime` DATETIME NULL, PRIMARY KEY (`attribute_id`) -) ENGINE = InnoDB DEFAULT CHARSET=utf8; +) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; CREATE TABLE IF NOT EXISTS `ospos_attribute_links` ( @@ -31,7 +31,7 @@ CREATE TABLE IF NOT EXISTS `ospos_attribute_links` ( KEY `sale_id` (`sale_id`), KEY `receiving_id` (`receiving_id`), UNIQUE `attribute_links_uq1` (`attribute_id`, `definition_id`, `item_id`, `sale_id`, `receiving_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; ALTER TABLE `ospos_attribute_definitions` @@ -179,4 +179,4 @@ ALTER TABLE `ospos_items` DROP COLUMN `custom7`, DROP COLUMN `custom8`, DROP COLUMN `custom9`, - DROP COLUMN `custom10`; \ No newline at end of file + DROP COLUMN `custom10`;