forked from mtusi2026/mtusi2026lab7
feat: complete lab 7 for grade 4
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE login_limits (
|
||||
scope text NOT NULL,
|
||||
bucket bigint NOT NULL,
|
||||
attempts integer NOT NULL,
|
||||
PRIMARY KEY (scope, bucket)
|
||||
);
|
||||
CREATE INDEX login_limits_bucket ON login_limits (bucket);
|
||||
Reference in New Issue
Block a user