Le’s say that I have a table called people and the column middle_name is nullable. If the user enters say blank or empty space then in the database it is recorded as empty space. I would like in all my models all empty spaces to be recorded as null.
I guess I can write a plugin which will do so for all the models but I’m sure something like that should already be existing.I checked but couldn’t find anything. Anyone knows any plugin which might be of help.