EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01530
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Cleaning database up
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Cleaning database up
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Wed, 06 Feb 2013 15:24:50 +0000
David,I wouldn't change the userid field - this provides internal relations between objects (e.g. eprint.userid etc). Updating that field everywhere is a big task, and I'm not sure what you'd achieve by doing so.
If you need to add extra info to the user objects, simply add a new field to the user dataset.
Seb. On 06/02/13 15:17, David Whitehead wrote:
Hi Seb, thanks for your help Seb you'v given me some great information about the API's. I just had one last question I wanted to ask you about the EPrint API's, once the database has been somewhat cleaned via the script, I am looking to change userid's into a different value for the university which makes more sense then the auto increment method, I have already written the ldap script and database file changes to do this but I need to modify the existing users already in the database to the same structure. Is there any Eprint API which would allow me to update a users userid and then trickle it down into their EPrints, saved searches, indexs etc? Kind regards, David Whitehead
- References:
- [EP-tech] Cleaning database up
- From: "David Whitehead" <dwhitehead@lincoln.ac.uk>
- [EP-tech] Re: Cleaning database up
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Cleaning database up
- From: "David Whitehead" <dwhitehead@lincoln.ac.uk>
- [EP-tech] Re: Cleaning database up
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Cleaning database up
- From: "David Whitehead" <dwhitehead@lincoln.ac.uk>
- [EP-tech] Cleaning database up
- Prev by Date: [EP-tech] Re: Cleaning database up
- Next by Date: [EP-tech] Re: Cleaning database up
- Previous by thread: [EP-tech] Re: Cleaning database up
- Next by thread: [EP-tech] Re: Cleaning database up
- Index(es):