Fix database schema Image relationship