added ratelimit
This commit is contained in:
parent
2438394225
commit
751a97eda9
2 changed files with 15 additions and 0 deletions
|
@ -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 a new issue