mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-25 23:09:22 +00:00
11 lines
285 B
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`));
|