wiki_thsf_2015/createdb.sh
2015-03-30 22:04:08 +01:00

8 lines
231 B
Bash

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
)