Files
mtusi2026lab7/db/migrations/006_login_limits.sql
T
sashadugina06 11390b65fd
Skeleton contracts / contracts (pull_request) Blocked by required conditions
feat: complete lab 7 for grade 4
2026-12-04 13:55:32 +03:00

8 lines
206 B
SQL

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);