mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +03:00
9 lines
308 B
MySQL
9 lines
308 B
MySQL
|
CREATE TABLE `blacklist_relations` (
|
||
|
`index` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||
|
`author` BIGINT UNSIGNED NOT NULL,
|
||
|
`target` BIGINT UNSIGNED NOT NULL,
|
||
|
`created` BIGINT UNSIGNED NOT NULL,
|
||
|
PRIMARY KEY (`index`)
|
||
|
) ENGINE = InnoDB;
|
||
|
ALTER TABLE `blacklist_relations` ADD INDEX(`author`, `target`);
|