-- Revert gaia:2017_08_16_delete_device_tongdun_info from mysql

BEGIN;

ALTER TABLE `statistic_device`
ADD COLUMN `risk_result` varchar (2)  DEFAULT '0',
ADD COLUMN `risk_score` INTEGER (3)  DEFAULT 10,
ADD COLUMN `risk_check` bool  DEFAULT False,
ADD COLUMN `tongdun_exist` bool NOT NULL DEFAULT False;

COMMIT;
