Skip to content
Snippets Groups Projects
Commit 76b47f23 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Make sure user names are unique.
parent bbcf3c13
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment