@David, see the entries below, maybe it is not necessary to make unique combination on (name, fitlers).
mysql> select * from endpoint_group; +----------------------------------+---------------------+----------------------------+------------------------+ | id | name | description | filters | +----------------------------------+---------------------+----------------------------+------------------------+ | 45b122d470d54cd5aa325bd028e51441 | endpoint_group_name | endpoint group description | {"interface": "admin"} | | 5db2275539d94b258cd3c6976b2c80df | endpoint_group_name | endpoint group description | {"interface": "admin"} | | af37fa8122404102a91fed908fe62994 | endpoint_group_name | endpoint group description | {"interface": "admin"} | +----------------------------------+---------------------+----------------------------+------------------------+ 3 rows in set (0.02 sec)
@David, see the entries below, maybe it is not necessary to make unique combination on (name, fitlers).
mysql> select * from endpoint_group; ------- ------- ------- ------- +------ ------- ------- -+----- ------- ------- ------- --+---- ------- ------- ------+ ------- ------- ------- ------- +------ ------- ------- -+----- ------- ------- ------- --+---- ------- ------- ------+ 5aa325bd028e514 41 | endpoint_group_name | endpoint group description | {"interface": "admin"} | 58cd3c6976b2c80 df | endpoint_group_name | endpoint group description | {"interface": "admin"} | 2a91fed908fe629 94 | endpoint_group_name | endpoint group description | {"interface": "admin"} | ------- ------- ------- ------- +------ ------- ------- -+----- ------- ------- ------- --+---- ------- ------- ------+
+------
| id | name | description | filters |
+------
| 45b122d470d54cd
| 5db2275539d94b2
| af37fa812240410
+------
3 rows in set (0.02 sec)