--- modules/coppa/coppa_email/coppa_email.1.install Thu Feb 24 18:09:03 2011 +++ modules/coppa/coppa_email/coppa_email.install Fri Jan 13 11:58:43 2012 @@ -27,12 +27,12 @@ $schema['coppa_email'] = array( 'description' => 'Store parent/guardian email addresses for COPPA signoff.', 'fields' => array( - 'pid' => array( - 'description' => 'Parent or guardian ID.', - 'type' => 'serial', + 'cid' => array( + 'description' => 'Child ID referencing {users}.uid.', + 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, - ), + ), 'mail' => array( 'description' => "Parent or guardian's email.", 'type' => 'varchar', @@ -47,7 +47,7 @@ 'default' => 0, ), ), - 'primary key' => array('pid'), + 'primary key' => array('cid'), 'indexes' => array( 'mail_sent' => array('mail_sent'), 'mail' => array('mail'),