PHP Classes

File: src/Installer/sql/pgsql/42-rate-limiting.sql

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   src/Installer/sql/pgsql/42-rate-limiting.sql   Download  
File: src/Installer/sql/pgsql/42-rate-limiting.sql
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change: PHPStorm only committed one file -_-
Add 'IF NOT EXISTS' clauses (requires PostgreSQL 9.5)
Date: 7 years ago
Size: 760 bytes
 

Contents

Class file image Download
CREATE TYPE type_airship_account_failure AS ENUM ('login', 'recovery'); CREATE TABLE IF NOT EXISTS airship_failed_logins ( failureid BIGSERIAL PRIMARY KEY, username TEXT, ipaddress TEXT, action type_airship_account_failure, subnet TEXT, sealed_password TEXT, occurred TIMESTAMP DEFAULT NOW() ); CREATE INDEX ON airship_failed_logins (username); CREATE INDEX ON airship_failed_logins (ipaddress); CREATE INDEX ON airship_failed_logins (action); CREATE INDEX ON airship_failed_logins (subnet); CREATE INDEX ON airship_failed_logins (username, subnet); CREATE INDEX ON airship_failed_logins (username, action); CREATE INDEX ON airship_failed_logins (subnet, action); CREATE INDEX ON airship_failed_logins (username, subnet, action);