Commit 76b47f23 authored by Dries's avatar Dries

- Make sure user names are unique.
parent bbcf3c13
......@@ -494,6 +494,7 @@ function update_31() {
function update_32() {
update_sql("ALTER TABLE users ADD index (sid(4))");
update_sql("ALTER TABLE users ADD index (timestamp)");
update_sql("ALTER TABLE users ADD UNIQUE KEY name (name)");
}
function update_33() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment