wiki_thsf_2015/createdb.sh

8 lines
231 B
Bash
Raw Normal View History

2015-03-30 23:04:08 +02: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
)