ALTER TABLE `call_events` CHANGE `status` `status` TINYINT(1) NOT NULL DEFAULT '0';

ALTER TABLE `users` ADD `vpbx_id` VARCHAR(65) NULL COMMENT 'usedId в ВАТС' AFTER `is_dispatcher`;

ALTER TABLE `mango_calls` ADD `vpbx_id` VARCHAR(65) NULL AFTER `agency_id`, ADD `client_id` INT NOT NULL AFTER `vpbx_id`;

