diff --git a/core/modules/node/node.install b/core/modules/node/node.install index 0cc7256..bed7e3e 100644 --- a/core/modules/node/node.install +++ b/core/modules/node/node.install @@ -1086,15 +1086,6 @@ function node_update_8016() { foreach (_node_update_8016_schema() as $table => $table_schema) { db_create_table($table, $table_schema); } - if (db_field_exists('node_type', 'module')) { - $spec = array( - 'description' => 'The module defining this node type.', - 'type' => 'varchar', - 'length' => 50, - 'not null' => TRUE, - ); - db_change_field('node_type', 'module', 'module', $spec); - } } /** @@ -1156,6 +1147,21 @@ function node_update_8018() { } /** + * Convert the 'module' column in {node_type} to the maximum shortname length. + */ +function node_update_8019() { + if (db_field_exists('node_type', 'module')) { + $spec = array( + 'description' => 'The module defining this node type.', + 'type' => 'varchar', + 'length' => 50, + 'not null' => TRUE, + ); + db_change_field('node_type', 'module', 'module', $spec); + } +} + +/** * @} End of "addtogroup updates-7.x-to-8.x" * The next series of updates should start at 9000. */