I have here a mysql script which alters my 'Job' table and changes the DESCRIPTION column data type to TEXT. However, I have this script together with all the other scripts which are sometimes run multiple times. My question is, what do I need to add to my script so that it would check if the data type of DESCRIPTION column is already TEXT or not? This script takes too long to execute due to huge data and I don't want it to be executed again if the DESCRIPTION column has already been changed to TEXT.
ALTER TABLE Job
MODIFY DESCRIPTION TEXT;