Unique

A certain attribute has to be unique in the whole database table.

Parameters:

  • attribute: the attribute that has to be unique
  • message: the message that is shown if this constraint is violated
Sample Code

Live Sample