? .svn ? uc_node_checkout-schema-docs.patch Index: uc_node_checkout.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/uc_node_checkout/uc_node_checkout.install,v retrieving revision 1.3.2.3 diff -u -p -r1.3.2.3 uc_node_checkout.install --- uc_node_checkout.install 30 Jan 2009 14:18:37 -0000 1.3.2.3 +++ uc_node_checkout.install 29 Oct 2009 18:14:02 -0000 @@ -21,23 +21,27 @@ function uc_node_checkout_uninstall() { */ function uc_node_checkout_schema() { $schema['uc_node_checkout_types'] = array( + 'description' => 'Designates node types that, when created, will add a selected product into the shopping cart.' 'fields' => array( 'node_type' => array( 'type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '', + 'description' => 'The {node}.type of the node the user can add; for example, "registration".', ), 'product_nid' => array( 'type' => 'int', 'not null' => TRUE, 'default' => 0, + 'description' => 'The {node}.nid of the product node that will be placed in the shopping cart when the node_type node is added.', ), 'node_view' => array( 'type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '', + 'description' => t('The name of a view offering product selections that the user may choose to get added to their cart.'), ), ), 'indexes' => array( @@ -46,16 +50,19 @@ function uc_node_checkout_schema() { ); $schema['uc_node_checkout_order_products'] = array( + 'description' => 'Mapping of user-created nodes to order line numbers.', 'fields' => array( 'nid' => array( 'type' => 'int', 'not null' => TRUE, 'default' => 0, + 'description' => 'The {node}.nid of the user-created node (ex: registration for an event).', ), 'order_product_id' => array( 'type' => 'int', 'not null' => TRUE, 'default' => 0, + 'description' => 'The {uc_order_products}.order_product_id of the order.', ), ), 'primary key' => array('nid'),