diff options
Diffstat (limited to 'upgrades/dbpatches/1.4/mysql/patch/users.sql')
-rw-r--r-- | upgrades/dbpatches/1.4/mysql/patch/users.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrades/dbpatches/1.4/mysql/patch/users.sql b/upgrades/dbpatches/1.4/mysql/patch/users.sql index c2a31e17..03ff99ff 100644 --- a/upgrades/dbpatches/1.4/mysql/patch/users.sql +++ b/upgrades/dbpatches/1.4/mysql/patch/users.sql @@ -14,6 +14,6 @@ CREATE TABLE users_tmp ( CREATE INDEX users_1 on users_tmp (alias); insert into users_tmp select userid,alias,name,surname,passwd,url,autologout,lang,refresh,1 from users; -update users_tmp set type=3 where name='Admin'; +update users_tmp set type=3 where alias='Admin'; drop table users; alter table users_tmp rename users; |