Commit 1ca01c77 authored by webchick's avatar webchick

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
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment