example to get sql then run the results


SELECT CONCAT('ALTER TABLE ', 

SCHEMA_NAME, '.tblorder ADD COLUMN IF NOT EXISTS orderGiftFuneral VARCHAR(1) DEFAULT \'0\' NULL AFTER collectHourEnd;')

FROM information_schema.schemata

WHERE SCHEMA_NAME NOT IN ('information_schema','mysql','performance_schema','phpmyadmin', 'webauth');