pyrocms/pyrocms — pull request #3133 by RodrigoBalest (2013-12-27 18:12:42+00:00)
Title: Check if file ID exists before inserting into DB

File IDs collisions are improbable but possible. This check avoids this from happening.