Updated database structure for images
Fixed foreign keys, seed data contains errors: deleted