mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
bec9079e36
* Перенос ветки blacklist (#900) * Blacklist * Config * upd * Added restrictions in the users.get method * ok * Update en.strings * ok 2.0 --------- Co-authored-by: Vladimir Barinov <veselcraft@icloud.com> * Create 00038-blacklist.sql * typo xd * Blacklists: Make it barely work (xd) * БЛЯЯЯЯЯЯЯЯТЬ * remove all * account.ban, account.unban, account.getBanned * rewrite ui * add link * add ignore button to blacklisted users * fields blacklisted_by_me, blacklisted * ad ability to blacklist when you ar blacklisted --------- Co-authored-by: n1rwana <me@n1rwana.xyz> Co-authored-by: Vladimir Barinov <veselcraft@icloud.com> Co-authored-by: n1rwana <aydashkin@vk.com>
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`);
|