t('The weight table for PhysioLog. For recording your physical weight.'), 'fields' => array( 'wid' => array( 'description' => t('The primary identifier for a weight log entry.'), 'type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE), 'uid' => array( 'description' => t('The {users}.uid that recorded this entry.'), 'type' => 'int', 'not null' => TRUE, 'default' => 0), 'weight' => array( 'description' => t('The recorded weight in kilograms'), 'type' => 'float', 'not null' => TRUE, 'default' => 0, ), 'created' => array( 'description' => t('The Unix timestamp when the node was created.'), 'type' => 'int', 'not null' => TRUE, 'default' => 0), 'changed' => array( 'description' => t('The Unix timestamp when the node was most recently saved.'), 'type' => 'int', 'not null' => TRUE, 'default' => 0), ), 'indexes' => array( 'weight_value' => array('weight'), 'weight_changed' => array('changed'), 'weight_created' => array('created'), 'uid' => array('uid'), ), 'primary key' => array('wid'), ); return $schema; }