'The table for user connections', 'fields' => array( 'nid' => array( 'description' => 'The primary identifier for a node.', 'type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE), 'uid' => array( 'description' => 'The user id.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0), 'ip' => array( 'description' => 'The IP address.', 'type' => 'varchar', 'length' => 15, 'not null' => TRUE, 'default' => ''), 'day' => array( 'description' => 'The date of the connection.', 'type' => 'datetime', 'mysql_type' => 'datetime', 'not null' => TRUE), ), 'indexes' => array( ), 'unique keys' => array( 'nid' => array('nid') ), 'primary key' => array('nid'), ); return $schema; }