On all 3 tables, get rid of 'value' in the unique key.