Enha: use of sql sessions
This commit is contained in:
		| @@ -72,7 +72,7 @@ CREATE TABLE sessions( | ||||
|     id INTEGER PRIMARY KEY AUTOINCREMENT, | ||||
|     updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||||
|     lifetime INTEGER NOT NULL DEFAULT 3600, | ||||
|     cookie_token TEXT NOT NULL DEFAULT '', -- encoded value | ||||
|     token_key TEXT NOT NULL DEFAULT '' UNIQUE, -- encoded value | ||||
|     username TEXT NOT NULL, | ||||
|     FOREIGN KEY (username) REFERENCES players(username) | ||||
| ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder