DROP TABLE IF EXISTS photo_version_display; DROP TABLE IF EXISTS photo_version_references; DROP TABLE IF EXISTS photo_versions;