Hi Javier, welcome to the Community!
SuiteCRM handles all database constraints at the application level. Nothing is enforced in the DB layer, everything is enforced in PHP.
And it is not very rigorous on this. Many things are left orphan in the database, there are no cascaded deletes, etc