mirror of
https://github.com/openvk/openvk
synced 2024-12-23 17:12:01 +03:00
8 lines
308 B
SQL
8 lines
308 B
SQL
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`);
|