wiki_thsf_2015/createdb.sh

8 lines
231 B
Bash
Raw Normal View History

2015-03-31 08:04:08 +11:00
CREATE TABLE "users" (
"id" INTEGER PRIMARY KEY AUTOINCREMENT,
"username" TEXT,
"password" TEXT, -- sha256 hash of the plain-text password
"salt" TEXT -- salt that is appended to the password before it is hashed
)