Can you provide a unique field or middleware for combination to determine? Do you have any other plans? I am not a programmer and cannot write code.
### Node Version

20

### NPM/Yarn/PNPM Version

10

### Strapi Version

5.6

### Operating System

Linux (Other)

### Database

MySQL

### Javascript or Typescript

Typescript

### Reproduction URL

_No response_

### Bug Description

I have a 'like' table with fields userID and photoID, and I need a unique constraint to prevent duplicate records from appearing in the table. Can I directly manipulate it in the management panel? I don't want to write a single line of code.

Can you provide a unique field or middleware for combination to determine? Do you have any other plans? I am not a programmer and cannot write code.

### Steps to Reproduce

I have a 'like' table with fields userID and photoID, and I need a unique constraint to prevent duplicate records from appearing in the table. Can I directly manipulate it in the management panel? I don't want to write a single line of code.

A single unique field can be forged.

Can you provide a unique field or middleware for combination to determine? Do you have any other plans? I am not a programmer and cannot write code.

### Expected Behavior

I have a 'like' table with fields userID and photoID, and I need a unique constraint to prevent duplicate records from appearing in the table. Can I directly manipulate it in the management panel? I don't want to write a single line of code.

A single unique field can be forged.

Can you provide a unique field or middleware for combination to determine? Do you have any other plans? I am not a programmer and cannot write code.

### Logs

```shell

```

### Code Snippets

_No response_

### Media

_No response_

### Additional information

_No response_

### Confirmation Checklist

- [x] I have checked the existing [issues](https://github.com/strapi/strapi/issues) for duplicates.
- [x] I agree to follow this project's [Code of Conduct](https://github.com/strapi/strapi/blob/develop/CODE_OF_CONDUCT.md).