IF NOT EXISTS( SELECT NULL
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'price'
AND table_schema = 'db_name'
AND column_name = 'pr1') THEN
ALTER TABLE `price` ADD `pr1` tinyint(1) NOT NULL AFTER `pr`;
END IF;