1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 21:39:21 +00:00
comunicapiv3/docs/migration.sql

11 lines
285 B
SQL

-- 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`));