removing array design id as foreign key