gallery has media new fields now nullable and greater