From d488eb129f4d65334ed999d12012ea8380992248 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Sat, 10 Oct 2015 19:43:59 -0400 Subject: Issue #2376239 by david_garcia, dobe: "format" field in table "date_format_locale" should be case sensitive --- modules/system/system.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'modules') diff --git a/modules/system/system.install b/modules/system/system.install index dde846969..323b7b356 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -800,6 +800,7 @@ function system_schema() { 'type' => 'varchar', 'length' => 100, 'not null' => TRUE, + 'binary' => TRUE, ), 'type' => array( 'description' => 'The date format type, e.g. medium.', @@ -3177,6 +3178,20 @@ function system_update_7079() { db_change_field('file_managed', 'filesize', 'filesize', $spec); } +/** + * Convert the 'format' column in {date_format_locale} to case sensitive varchar. + */ +function system_update_7080() { + $spec = array( + 'description' => 'The date format string.', + 'type' => 'varchar', + 'length' => 100, + 'not null' => TRUE, + 'binary' => TRUE, + ); + db_change_field('date_format_locale', 'format', 'format', $spec); +} + /** * @} End of "defgroup updates-7.x-extra". * The next series of updates should start at 8000. -- cgit v1.2.3