Index: webform.install
===================================================================
RCS file: /cvs/drupal/contributions/modules/webform/webform.install,v
retrieving revision 1.60
diff -u -p -r1.60 webform.install
--- webform.install	17 Oct 2010 21:12:21 -0000	1.60
+++ webform.install	28 Oct 2010 19:31:57 -0000
@@ -27,11 +27,10 @@ function webform_schema() {
         'not null' => TRUE,
       ),
       'confirmation_format' => array(
-        'description' => 'The input format used by the confirmation message.',
-        'type' => 'int',
-        'size' => 'tiny',
-        'not null' => TRUE,
-        'default' => 0,
+        'description' => 'The {filter_format}.format of the confirmation message.',
+        'type' => 'varchar',
+        'length' => 255,
+        'not null' => FALSE,
       ),
       'redirect_url' => array(
         'description' => 'The URL a user is redirected to after submitting a form.',
@@ -370,6 +369,7 @@ function webform_install() {
   );
   $webform_type = node_type_set_defaults($webform_type);
   node_type_save($webform_type);
+  node_add_body_field($webform_type);
 }
 
 /**
@@ -456,3 +456,15 @@ function webform_update_7305() {
     db_change_field('webform', 'additional_submit', 'additional_submit', array('type' => 'text', 'not null' => FALSE));
   }
 }
+
+/**
+ * Change {webform}.confirmation_format into varchar.
+ */
+function webform_update_7306() {
+  db_change_field('webform', 'confirmation_format', 'confirmation_format', array(
+    'type' => 'varchar',
+    'length' => 255,
+    'not null' => FALSE,
+    'description' => 'The {filter_format}.format of the confirmation message.',
+  ));
+}
