I am currently working on a evolutionary algorithm which will try to find an optimum configuration of parameters for a given problem.
I'm trying to create records in a MySQL table which will store a configuration where each parameter will be represented as a table column. If a configuration has already been attempted then I would like to prevent it from being duplicated.
Is there a mechanism to do this at the database/ORM level or should I create programmatic logic to prevent duplicate entries?