Added unique constraints 

Constraints to the code field on config_value and file_resource tables
as these need to be unique identifiers