Moved media_type and media_id to a separate table/object called Url