purplecat (
purplecat) wrote in
dw_dev_training2013-05-12 08:13 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Entry tags:
userpicmap2/3
Can I ask what is the difference between the database tables userpicmap2 and userpicmap3 (and possibly userpicmap1 though I couldn't find that mentioned in the code on a quick grep). userpicmap3 seems to be the one most used and there are comments in the code that suggest userpicmap2 is just there for backwards compatibility. Is that correct?
no subject
so, you always want to use userpicmap3.
no subject
no subject
you're welcome!
for finding the history of database tables like that, btw, a good first stop is update-db-general.pl in 'blame' mode, then compare to lj's update-db-general.pl, also in blame mode. it helps you narrow down when/where a particular change was made, and (if it was from us as opposed to from lj) will usually give you a link to the bug.
(this works for all files, not just update-db-general.pl, but since you were asking about a db table, that's where you start.)