Skip to content
Snippets Groups Projects
Commit 911aba7d authored by Kevin Hankens's avatar Kevin Hankens
Browse files

Adding an update to fix column definitions with bad schema. 1003382

parent 922b6cb9
No related branches found
No related tags found
No related merge requests found
......@@ -47,10 +47,7 @@ function tablefield_update_dependencies() {
return $dependencies;
}
/**
* Update schema to handle machine names of input filter formats.
*/
function tablefield_update_7000() {
function tablefield_repair_schema() {
$spec = array(
'type' => 'varchar',
'length' => 255,
......@@ -74,3 +71,17 @@ function tablefield_update_7000() {
db_change_field($revision_table, $column, $column, $spec);
}
}
/**
* Update schema to handle machine names of input filter formats.
*/
function tablefield_update_7000() {
tablefield_repair_schema();
}
/**
* Fix colums created by versions prior to beta1.
*/
function tablefield_update_7001() {
tablefield_repair_schema();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment