projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update the schema creation DDL for the new password hashing
[quassel.git]
/
src
/
core
/
SQL
/
PostgreSQL
/
17
/
setup_000_quasseluser.sql
diff --git
a/src/core/SQL/PostgreSQL/17/setup_000_quasseluser.sql
b/src/core/SQL/PostgreSQL/17/setup_000_quasseluser.sql
index
cd8292c
..
9c99376
100644
(file)
--- a/
src/core/SQL/PostgreSQL/17/setup_000_quasseluser.sql
+++ b/
src/core/SQL/PostgreSQL/17/setup_000_quasseluser.sql
@@
-1,5
+1,6
@@
CREATE TABLE quasseluser (
userid serial NOT NULL PRIMARY KEY,
username varchar(64) UNIQUE NOT NULL,
- password char(40) NOT NULL -- hex reppresentation of sha1 hashes
+ password TEXT NOT NULL,
+ hashversion integer NOT NULL DEFAULT 0
)