Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. CREATE TABLE users (
  2. username VARCHAR(50) PRIMARY KEY,
  3. password VARCHAR(50)
  4. );
  5.  
  6. CREATE TABLE login_atempts (
  7. ip VARCHAR(15) PRIMARY KEY,
  8. last_attempt DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
  9. nr_of_attempts INT DEFAULT 1,
  10. time_to_whait INT DEFAULT 10
  11. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement