Hi Ismail,
Try implementing Event Handler check validation before commit activity.
Hope it helps!
Thanks & Regards,
Manikandan K
Ismail,
In Mendix, you cannot directly alter the tables in the database. As far as I know, there is not a setting in Studio Pro that will result in NOT NULL being added in the database schema.
Mike
Hi Ismail,
Their is a Validation rules tab in Entity Properties. Choose the attribute you wanted, and set the rule as 'Required', that will resolve your issue.
Hi Ismail,
Go to domain model > double click > go to validation rule tab > select your attribute as required and give the error message.
Currently it's not possible to have a database contraint to validate NULL or NOT NULL. Mendix only creates database constraints for unique columns, all other entity validation rules are handled by the Mendix runtime. I will add it to the wishlist.