-- ---------------------------- --
-- Add column via_upload to sod_log if set to true
-- indicate a risk was uploaded from file
-- ---------------------------- --
ALTER TABLE `sod_log` 
ADD COLUMN `via_upload` tinyint(1) DEFAULT 0 AFTER `replaced_id`;