diff options
author | Yorhel <git@yorhel.nl> | 2009-07-19 11:36:54 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-07-19 11:36:54 +0200 |
commit | 678a78d71534441d5471ed24aa8b471ba08c6664 (patch) | |
tree | ba79c25216a87b7f56d71f864ed641d8a91222e4 /lib/VNDB/DB/VN.pm | |
parent | 4df0638b6f615489bd946c03753b3bbe0269e3b2 (diff) |
Converted and renamed screenshots.status (int) to processed (bool)
There were only two states, processed and unprocessed, so simply
using a boolean column with correct naming is more clarifying.
Diffstat (limited to 'lib/VNDB/DB/VN.pm')
-rw-r--r-- | lib/VNDB/DB/VN.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/DB/VN.pm b/lib/VNDB/DB/VN.pm index d54a0123..254e24e1 100644 --- a/lib/VNDB/DB/VN.pm +++ b/lib/VNDB/DB/VN.pm @@ -238,7 +238,7 @@ sub dbVNCache { # insert a new screenshot and return it's ID # (no arguments required, as Multi is responsible for filling the entry with information) sub dbScreenshotAdd { - return shift->dbRow(q|INSERT INTO screenshots (status) VALUES(0) RETURNING id|)->{id}; + return shift->dbRow(q|INSERT INTO screenshots (processed) VALUES(false) RETURNING id|)->{id}; } |