Add model/lens fields to the images table, and make upgrade code to populate
authorSteinar H. Gunderson <sesse@debian.org>
Tue, 21 Aug 2007 05:12:06 +0000 (07:12 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Tue, 21 Aug 2007 05:12:06 +0000 (07:12 +0200)
commit9d97b1243a78e8703fefb2a1da2794a6434912c4
tree644778d36c0e2bd89c6d01640dfcb7b1cda86c61
parent4c7426477a73edd5ad88bfebda56575019d5ca06
Add model/lens fields to the images table, and make upgrade code to populate
the fields. Also make update_image_info() populate them on new uploads etc.

The idea is to get rid of all SELECTs against exif_info, as EAV is quite evil
and is not needed in this case.
perl/Sesse/pr0n/Common.pm
sql/pr0n.sql
sql/upgrade-v2.50.sql