'proyectos reformula.', 'fields' => array( 'id' => array( 'description' => 'id de la entidad a que se le hace el woirkflow.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, ), 'vid' => array( 'description' => 'vid de la version de la entidad a que se le hace el woirkflow.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => FALSE, 'default' => 0, ), 'sid' => array( 'description' => 'El id del del cambio de workflow.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, ), 'active' => array( 'description' => 'El id del del cambio de workflow.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => FALSE, 'default' => 0, ), 'time' => array( 'description' => 'El id del del cambio de workflow.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => FALSE, 'default' => 0, ), 'tipo' => array( 'type' => 'varchar', 'description' => 'El tipo de entidad.', 'length' => 255, 'not null' => FALSE, 'default' => '' ), 'field_name' => array( 'type' => 'varchar', 'description' => 'El tipo de entidad.', 'length' => 255, 'not null' => TRUE, 'default' => '' ), 'hid' => array( 'description' => 'El id del historico del worflow.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => FALSE, 'default' => 0, ), 'comentario' => array( 'type' => 'text', 'size' => 'big', 'not null' => FALSE, 'default' => '' ), ), 'indexes' => array( 'id' => array('id'), 'sid' => array('sid'), 'tipo' => array('tipo'), 'field_name' => array('field_name'), 'id_sid' => array('id', 'sid'), 'id_tipo' => array('id', 'tipo'), 'id_field_name' => array('id', 'field_name'), 'id_active_field_name' => array('id', 'active'), ), ); return $schema; }