MySQL: How to create Column if not exists? I am trying to create a Column for my table only if it does not exist.
I have researched a lot but I could not find any solution yet.

Is this really possible to conditionally create Column ?
Actually exists now for Maria DB 10.219

ALTER TABLE test ADD COLUMN IF NOT EXISTS column_a VARCHAR(255);


Bonus, it works for MODIFY as well

ALTER TABLE test MODIFY IF EXISTS column_a VARCHAR(255);