summaryrefslogtreecommitdiffstats
path: root/upgrading/4.7.0.txt
blob: 820e45407470b8d91d8ffd878fb572b48f00b12b (plain)
1
2
3
4
5
6
7
8
9
10
11
1. Add ApiRateLimit table:

---
CREATE TABLE `ApiRateLimit` (
  IP VARCHAR(45) NOT NULL,
  Requests INT(11) NOT NULL,
  WindowStart BIGINT(20) NOT NULL,
  PRIMARY KEY (`ip`)
) ENGINE = InnoDB;
CREATE INDEX ApiRateLimitWindowStart ON ApiRateLimit (WindowStart);
---