summaryrefslogtreecommitdiff
path: root/modules/block/block.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/block/block.install')
-rw-r--r--modules/block/block.install18
1 files changed, 17 insertions, 1 deletions
diff --git a/modules/block/block.install b/modules/block/block.install
index a78c885e7..d8eab185e 100644
--- a/modules/block/block.install
+++ b/modules/block/block.install
@@ -79,7 +79,7 @@ function block_schema() {
),
'title' => array(
'type' => 'varchar',
- 'length' => 64,
+ 'length' => 255,
'not null' => TRUE,
'default' => '',
'description' => 'Custom title for the block. (Empty string will use block default title, <none> will remove the title, text will cause block to use specified title.)',
@@ -473,5 +473,21 @@ function block_update_7008() {
}
/**
+ * Increase {block}.title length to 255 characters.
+ */
+function block_update_7009() {
+ db_change_field('block', 'title', 'title',
+ array(
+ 'type' => 'varchar',
+ 'length' => 255,
+ 'not null' => TRUE,
+ 'default' => '',
+ 'description' => 'Custom title for the block. (Empty string will use block default title, <none> will remove the title, text will cause block to use specified title.)',
+ 'translatable' => TRUE,
+ )
+ );
+}
+
+/**
* @} End of "addtogroup updates-7.x-extra".
*/