mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
User: add second migration for lowercasing login/email of users (#88915)
This commit is contained in:
parent
0e73c4d387
commit
39bd13f877
@ -161,6 +161,8 @@ func addUserMigrations(mg *Migrator) {
|
||||
|
||||
// Users login and email should be in lower case
|
||||
mg.AddMigration(usermig.LowerCaseUserLoginAndEmail, &usermig.UsersLowerCaseLoginAndEmail{})
|
||||
// Users login and email should be in lower case - 2, fix for creating users not lowering login and email
|
||||
mg.AddMigration(usermig.LowerCaseUserLoginAndEmail+"2", &usermig.UsersLowerCaseLoginAndEmail{})
|
||||
}
|
||||
|
||||
const migSQLITEisServiceAccountNullable = `ALTER TABLE user ADD COLUMN tmp_service_account BOOLEAN DEFAULT 0;
|
||||
|
Loading…
Reference in New Issue
Block a user