DB field name: desc

I guess you could call this a feature request, but it's really more of a suggestion to make development easier for you and anyone else who wants to interact with the database.

I was looking at the database today working on metadata importing and I noticed that the description field for images and albums is called 'desc'. Since desc is a mysql reserved word (as in ORDER BY something DESC) it throws unexpected errors when used in things like insert statements unless it's enclosed in backtics. Perhaps you could consider renaming it before the 1.0 release?

Comments

  • trisweb Administrator
    Good catch. Didn't even notice. It will be renamed to the full word "description" before any final release happens.
Sign In or Register to comment.