Skip to content
Snippets Groups Projects
Commit 1ca01c77 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1691438 by Dave Reid, CrashTest_, quicksketch, jbrown: Fixed...

Issue #1691438 by Dave Reid, CrashTest_, quicksketch, jbrown: Fixed Regression: {file_managed()}.filename should NOT be binary (and case-sensitive by default).
parent 9d4f8797
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -872,7 +872,6 @@ function system_schema() {
'length' => 255,
'not null' => TRUE,
'default' => '',
'binary' => TRUE,
),
'uri' => array(
'description' => 'The URI to access the file (either local or remote).',
......@@ -2062,6 +2061,19 @@ function system_update_8017() {
));
}
/**
* Revert {file_managed}.filename changed to a binary column.
*/
function system_update_8018() {
db_change_field('file_managed', 'filename', 'filename', array(
'description' => 'Name of the file with no path components. This may differ from the basename of the URI if the file is renamed to avoid overwriting an existing file.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
));
}
/**
* @} End of "defgroup updates-7.x-to-8.x".
* The next series of updates should start at 9000.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment