Added a new primary key MediaID that uses hash function