Index: package/project_package.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project/package/project_package.install,v
retrieving revision 1.2
diff -u -p -r1.2 project_package.install
--- package/project_package.install	1 Dec 2009 02:39:20 -0000	1.2
+++ package/project_package.install	25 Apr 2010 07:11:02 -0000
@@ -47,6 +47,41 @@ function project_package_schema() {
     ),
     'primary key' => array('package_nid', 'item_nid'),
   );
+  $schema['project_package_patch_item'] = array(
+    'description' => 'Keeps track of any patches that are applied in a release of a given package project.',
+    'fields' => array(
+      'package_nid' => array(
+        'description' => 'Primary Key: The {node}.nid of the package release node.',
+        'type' => 'int',
+        'unsigned' => TRUE,
+        'not null' => TRUE,
+        'default' => 0,
+      ),
+      'patch_file_url' => array(
+        'description' => 'The URL where a given patch file applied to a package can be found.',
+        'type' => 'text',
+        'not null' => TRUE,
+      ),
+      'patch_description_url' => array(
+        'description' => 'The (optional) URL where a patch file applied to a package is described.',
+        'type' => 'text',
+        'not null' => FALSE,
+      ),
+      'patch_nid' => array(
+        'description' => 'The (optional) {node}.nid of a node on this site that describes a patch file applied to a package.',
+        'type' => 'int',
+        'unsigned' => TRUE,
+        'not null' => FALSE,
+      ),
+      'patch_comment_id' => array(
+        'description' => 'The (optional) {comment}.cid of a comment on this site that describes a patch file applied to a package.',
+        'type' => 'int',
+        'unsigned' => TRUE,
+        'not null' => FALSE,
+      ),
+    ),
+    'primary key' => array('package_nid', 'item_nid'),
+  );
   return $schema;
 }
 
