I am using Propel schema to create database tables. In a table, i need to create a 'name' column which should hold a 'short string', 'all in lower case', and 'with no spaces', for example: 'join', 'appointment'.
How can I define this column in schema.xml with given constraints? Or do I have to create a custom validator to get it done?
You can define a validate behaviour in your schema.xml.
There are several validators to choose from, you would probably use the Choice Validator.
Example: