mirror of
https://github.com/openvk/openvk
synced 2024-11-11 09:29:29 +03:00
11 lines
392 B
SQL
11 lines
392 B
SQL
CREATE TABLE IF NOT EXISTS `reports` (
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
`user_id` bigint(20) NOT NULL,
|
|
`target_id` bigint(20) NOT NULL,
|
|
`type` varchar(64) NOT NULL,
|
|
`reason` text NOT NULL,
|
|
`deleted` tinyint(1) NOT NULL DEFAULT '0',
|
|
`created` bigint(20) NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
ALTER TABLE `reports` ADD INDEX (`id`);
|