fix UserAngelTypes migration for *Engel

This commit is contained in:
Jan-Philipp Litza 2011-12-26 17:49:02 +01:00
parent 01e7bdce1d
commit 529dc09c34
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if(sql_num_query("SHOW TABLES LIKE 'UserAngelTypes'") === 0) {
SELECT `User`.`UID`, `AngelTypes`.`id`
FROM `User`
INNER JOIN `AngelTypes`
ON TRIM(TRAILING 'Angel' FROM `User`.`Art`) = `AngelTypes`.`name`");
ON TRIM(TRAILING 'Engel' FROM TRIM(TRAILING 'Angel' FROM `User`.`Art`)) = `AngelTypes`.`name`");
$applied = true;
}