projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for password hash versioning
[quassel.git]
/
src
/
core
/
SQL
/
PostgreSQL
/
17
/
setup_030_identity_nick.sql
diff --git a/src/core/SQL/PostgreSQL/17/setup_030_identity_nick.sql
b/src/core/SQL/PostgreSQL/17/setup_030_identity_nick.sql
new file mode 100644
(file)
index 0000000..
65fb5ec
--- /dev/null
+++ b/
src/core/SQL/PostgreSQL/17/setup_030_identity_nick.sql
@@ -0,0
+1,6
@@
+CREATE TABLE identity_nick (
+ nickid serial PRIMARY KEY,
+ identityid integer NOT NULL REFERENCES identity (identityid) ON DELETE CASCADE,
+ nick varchar(64) NOT NULL,
+ UNIQUE (identityid, nick)
+)