summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-09-02 16:28:56 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2012-09-02 16:28:56 -0700
commitf2aa3cc200a192f568742459e815b75b4e2db3dd (patch)
tree1a47878a1ccdcde87739489584257f3ce95750e9 /modules/system/system.install
parentcc2b0c5cc9b2a412c041518d0a49228836b1d68c (diff)
downloadbrdo-f2aa3cc200a192f568742459e815b75b4e2db3dd.tar.gz
brdo-f2aa3cc200a192f568742459e815b75b4e2db3dd.tar.bz2
Issue #1691438 by Dave Reid, CrashTest_, quicksketch, jbrown, Devin Carlson: Fixed Regression: {file_managed()}.filename should NOT be binary (and case-sensitive by default).
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install14
1 files changed, 13 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 4f85dc928..220dfee24 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -810,7 +810,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).',
@@ -3075,6 +3074,19 @@ function system_update_7076() {
}
/**
+ * Revert {file_managed}.filename changed to a binary column.
+ */
+function system_update_7077() {
+ 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-extra".
* The next series of updates should start at 8000.
*/