Skip to content

Commit 3847a04

Browse files
committed
Fix migration
1 parent 58a1952 commit 3847a04

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

‎migrations/v30x/m20_unicode_language_trees.php‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,14 @@ public function update_schema()
3939
}
4040

4141
/**
42-
* {@inheritdoc}
42+
* Keep the changed columns until the initial schema migration drops the table.
43+
* Reverting them could fail when existing data no longer fits the old types.
44+
*
45+
* @return array Array of table schema changes
4346
*/
4447
public function revert_schema()
4548
{
46-
return array(
47-
'change_columns' => array(
48-
$this->table_prefix . 'boardrules' => array(
49-
'rule_title' => array('VCHAR:200', ''),
50-
'rule_anchor' => array('VCHAR:255', ''),
51-
),
52-
),
53-
);
49+
return array();
5450
}
5551

5652
/**

0 commit comments

Comments
 (0)