--
ALTER TABLE `users` ADD `stb_type` varchar(32) NOT NULL default '';
ALTER TABLE `users` ADD `serial_number` varchar(32) NOT NULL default '';
ALTER TABLE `events` ADD `auto_hide_timeout` int NOT NULL default 0;
ALTER TABLE `storages` ADD `not_for_mag100` tinyint default 0;

CREATE TABLE IF NOT EXISTS `censored_channels`(
    `id` int NOT NULL auto_increment,
    `uid` int NOT NULL default 0,
    `list` text,
    `exclude` text,
    `changed` timestamp NOT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- //@UNDO

ALTER TABLE `users` DROP `stb_type`;
ALTER TABLE `users` DROP `serial_number`;
ALTER TABLE `events` DROP `auto_hide_timeout`;
ALTER TABLE `storages` DROP `not_for_mag100`;

--