Index: bookingsapi.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/bookingsapi/bookingsapi.install,v
retrieving revision 1.7.2.2.2.10
diff -u -p -r1.7.2.2.2.10 bookingsapi.install
--- bookingsapi.install	22 Dec 2009 14:02:50 -0000	1.7.2.2.2.10
+++ bookingsapi.install	27 Dec 2009 17:43:37 -0000
@@ -82,7 +82,7 @@ function bookingsapi_schema() {
       ),
       'subtype' => array(
         'type' => 'varchar',
-        'not null' => TRUE,
+        'not null' => FALSE,
         'length' => 20,
         'description' => t('Record subtype, if your implementation utilizes it.'),
       ),
@@ -481,3 +481,16 @@ function bookingsapi_update_6055() {
   db_drop_table($ret, "bookings_free_cache");
   return $ret;
 }
+
+function bookingsapi_update_6056() {
+	$ret = array();
+  $schema = array(
+        'type' => 'varchar',
+        'not null' => FALSE,
+        'length' => 20,
+        'description' => t('Record subtype, if your implementation utilizes it.'),
+		);
+	db_change_field($ret, "bookings_records", "subtype", "subtype", $schema);
+
+	return $ret;
+}
