diff options
author | David Rothstein <drothstein@gmail.com> | 2015-10-10 19:43:59 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-10-10 19:43:59 -0400 |
commit | d488eb129f4d65334ed999d12012ea8380992248 (patch) | |
tree | 491fb9119fb484d89a7a93ac5389d765b2bb5bb2 /modules/system | |
parent | ab4064e9ae9071a01f3e65446608f17d1f565daf (diff) | |
download | brdo-d488eb129f4d65334ed999d12012ea8380992248.tar.gz brdo-d488eb129f4d65334ed999d12012ea8380992248.tar.bz2 |
Issue #2376239 by david_garcia, dobe: "format" field in table "date_format_locale" should be case sensitive
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.install | 15 |
1 files changed, 15 insertions, 0 deletions
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.', @@ -3178,6 +3179,20 @@ function system_update_7079() { } /** + * 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. */ |