Bug 8007: (QA followup) fix charset collate

This bug was started before the changes on default collation. This
patch fixes that.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Tomas Cohen Arazi 2015-04-30 12:05:22 -03:00
parent 0f50d28e77
commit eea806f9ef
2 changed files with 2 additions and 2 deletions

View File

@ -3516,7 +3516,7 @@ CREATE TABLE discharges (
validated timestamp NULL DEFAULT NULL,
KEY borrower_discharges_ibfk1 (borrower),
CONSTRAINT borrower_discharges_ibfk1 FOREIGN KEY (borrower) REFERENCES borrowers (borrowernumber) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;

View File

@ -10321,7 +10321,7 @@ if ( CheckVersion($DBversion) ) {
validated timestamp NULL DEFAULT NULL,
KEY borrower_discharges_ibfk1 (borrower),
CONSTRAINT borrower_discharges_ibfk1 FOREIGN KEY (borrower) REFERENCES borrowers (borrowernumber) ON DELETE CASCADE ON UPDATE CASCADE
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|);
print "Upgrade to $DBversion done (Bug 8007: Add System Preferences useDischarge, the discharge notice and the new table discharges)\n";