mirror of
https://github.com/nokonoko/Uguu.git
synced 2024-01-06 13:35:15 +00:00
added ratelimit
This commit is contained in:
parent
2438394225
commit
751a97eda9
@ -24,3 +24,12 @@ CREATE TABLE `blacklist` (
|
||||
`time` int(15) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
|
||||
CREATE TABLE `ratelimit`
|
||||
(
|
||||
`id` int(20) unsigned NOT NULL auto_increment,
|
||||
`iphash` char(40) DEFAULT NULL,
|
||||
`files` int(15) default NULL,
|
||||
`time` int(15) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
@ -28,4 +28,10 @@ CREATE TABLE `ratelimit` (
|
||||
, `time` integer default NULL
|
||||
, `files` integer default NULL
|
||||
);
|
||||
CREATE TABLE `ratelimit`(
|
||||
`id` integer NOT NULL PRIMARY KEY AUTOINCREMENT
|
||||
, `iphash` char(40) default NULL
|
||||
, `files` integer default NULL
|
||||
, `time` integer default NULL
|
||||
);
|
||||
END TRANSACTION;
|
||||
|
Loading…
Reference in New Issue
Block a user