Database level constraint

Hi, I started using strapi and been using MySQL as the database. However, all the constraints I set for the fields doesn’t really reflect on the database. And, also every time I use strapi.documents function to create an entry, it always results in two records in the database, only of that shows up in the strapi frontend. Is it some kind of configuration issue or is it the intended use case?

This topic has been created from a Discord post (1300657739650826270) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

might be related to the new way of using draft/published

Well, this will be a problem bcz for one entry, there will be two records.