Added constraints to bars, can not have duplicate bar_id and must have bar_id and name