--- signup_status.install 2009-01-24 01:45:42.000000000 -0500 +++ signup_status.install-NEW 2009-07-02 19:43:45.000000000 -0400 @@ -88,6 +88,13 @@ function signup_status_schema() { 'size' => 'tiny', 'description' => t('A flag showing if this signup status should be shown on the signup form.'), ), + 'default_status' => array( + 'type' => 'int', + 'not null' => TRUE, + 'default' => 0, + 'size' => 'tiny', + 'description' => t('A flag to indicate which status should be considered default.'), + ), ), 'primary key' => array('cid'), 'unique key' => array('name'), @@ -95,3 +102,13 @@ function signup_status_schema() { ); } + +/** + * Updates for 6.x-1.x + */ +function signup_status_update_6000 () +{ + $ret = array(); + db_add_field($ret, 'signup_status_codes', 'default_status', array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'length' => '4', 'description' => 'A flag to indicate which status should be considered default.')); + return $ret; +}