diff options
author | Nathaniel Catchpole <catch@35733.no-reply.drupal.org> | 2015-05-04 11:39:11 +0100 |
---|---|---|
committer | Nathaniel Catchpole <catch@35733.no-reply.drupal.org> | 2015-05-04 11:39:11 +0100 |
commit | ac4e35ce01b2070fbb6f223447a0b3a3b9b4f461 (patch) | |
tree | 43f1e72f4d505dd4657615712d885b7b0a66cce7 /core/modules/file/file.install | |
parent | e8a5d9e4e0fd0e05da47216b10ee4e6a92555008 (diff) | |
download | drupal-ac4e35ce01b2070fbb6f223447a0b3a3b9b4f461.tar.gz drupal-ac4e35ce01b2070fbb6f223447a0b3a3b9b4f461.zip |
Issue #1923406 by stefan.r, yannickoo: Use ASCII character set on alphanumeric fields so we can index all 255 characters
Diffstat (limited to 'core/modules/file/file.install')
-rw-r--r-- | core/modules/file/file.install | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/file/file.install b/core/modules/file/file.install index 6e188c6a562..fd3503c2834 100644 --- a/core/modules/file/file.install +++ b/core/modules/file/file.install @@ -20,21 +20,21 @@ function file_schema() { ), 'module' => array( 'description' => 'The name of the module that is using the file.', - 'type' => 'varchar', + 'type' => 'varchar_ascii', 'length' => DRUPAL_EXTENSION_NAME_MAX_LENGTH, 'not null' => TRUE, 'default' => '', ), 'type' => array( 'description' => 'The name of the object type in which the file is used.', - 'type' => 'varchar', + 'type' => 'varchar_ascii', 'length' => 64, 'not null' => TRUE, 'default' => '', ), 'id' => array( 'description' => 'The primary key of the object using the file.', - 'type' => 'varchar', + 'type' => 'varchar_ascii', 'length' => 64, 'not null' => TRUE, 'default' => 0, |