mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-19 07:55:17 +00:00
Update database structure
This commit is contained in:
@ -305,3 +305,12 @@ CREATE TABLE `comunic_admin_log` (
|
||||
`time` INT NULL,
|
||||
`action` VARCHAR(255) NULL,
|
||||
PRIMARY KEY (`id`));
|
||||
|
||||
CREATE TABLE `comunic_reports` (
|
||||
`id` INT NOT NULL,
|
||||
`user_id` INT NOT NULL,
|
||||
`target` VARCHAR(25) NOT NULL,
|
||||
`target_id` INT NOT NULL,
|
||||
`time` INT NOT NULL,
|
||||
`comment` TEXT NULL,
|
||||
PRIMARY KEY (`id`));
|
||||
|
@ -1 +1,9 @@
|
||||
-- Nothing yet
|
||||
-- Create report table
|
||||
CREATE TABLE `comunic_reports` (
|
||||
`id` INT NOT NULL,
|
||||
`user_id` INT NOT NULL,
|
||||
`target` VARCHAR(25) NOT NULL,
|
||||
`target_id` INT NOT NULL,
|
||||
`time` INT NOT NULL,
|
||||
`comment` TEXT NULL,
|
||||
PRIMARY KEY (`id`));
|
||||
|
Reference in New Issue
Block a user