-- Create report table CREATE TABLE `comunic_reports` ( `id` INT NOT NULL AUTO_INCREMENT, `user_id` INT NOT NULL, `target_type` VARCHAR(25) NOT NULL, `target_id` INT NOT NULL, `time` INT NOT NULL, `cause` VARCHAR(20) NOT NULL, `comment` TEXT NULL, PRIMARY KEY (`id`));