Problem with links when deleting

Hello! Iā€™m facing this problem. In a table there is a field link to another table in M2M format. After deleting a record in the table and then adding a new one, the links that were in the deleted record reappear in the new one. Thus it turns out that to delete a record in the table correctly, you must first delete all the links in this record and only then delete the record. This problem occurs exactly with M2M links, with all other links it is normal. It is very inconvenient. Is this really how it should work? I have recorded a video, but unfortunately I cannot attach it.

Can you share your base information? Are you trying it in Cloud or self hosted environment?

Good day. Self hosted.

Copy your base information here. FAQs | NocoDB

I tried it in app.nocodb.com (uses PG), it worked fine. Just wondering if its something to do with other NC_DB options (MySQL or SQLite)

Reproducible with SQLite as root DB. Created an issue here

Node: v20.15.1
Arch: x64
Platform: linux
Docker: true
RootDB: sqlite3
PackageVersion: 0.257.2

Thank you. Can you tell me then how can I change the root db in my self host solution