summaryrefslogtreecommitdiff
path: root/modules/node/node.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node/node.install')
-rw-r--r--modules/node/node.install16
1 files changed, 9 insertions, 7 deletions
diff --git a/modules/node/node.install b/modules/node/node.install
index d81626f52..26f4f81a3 100644
--- a/modules/node/node.install
+++ b/modules/node/node.install
@@ -299,13 +299,6 @@ function node_schema() {
'not null' => TRUE,
'default' => '',
),
- 'min_word_count' => array(
- 'description' => 'The minimum number of words the body must contain.',
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'size' => 'small',
- ),
'custom' => array(
'description' => 'A boolean indicating whether this type is defined by a module (FALSE) or by a user via a module like the Content Construction Kit (TRUE).',
'type' => 'int',
@@ -523,6 +516,15 @@ function node_update_7005(&$context) {
return $ret;
}
+/**
+ * Remove column min_word_count.
+ */
+function node_update_7006() {
+ $ret = array();
+ db_drop_field($ret, 'node_type', 'min_word_count');
+ return $ret;
+}
+
/**