summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rw-r--r--update.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/update.php b/update.php
index 95ff18d51..9facd3f51 100644
--- a/update.php
+++ b/update.php
@@ -648,9 +648,12 @@ function update_fix_d7_requirements() {
// Add the cache_path table.
$schema['cache_path'] = drupal_get_schema_unprocessed('system', 'cache');
- $schema['cache_path']['description'] = t('Cache table used for path alias lookups.');
+ $schema['cache_path']['description'] = 'Cache table used for path alias lookups.';
db_create_table($ret, 'cache_path', $schema['cache_path']);
variable_set('update_d7_requirements', TRUE);
+
+ // Add column for locale context.
+ db_add_field($ret, 'locales_source', 'context', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '', 'description' => 'The context this string applies to.'));
}
return $ret;