mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
8 lines
324 B
MySQL
8 lines
324 B
MySQL
|
INSERT INTO {$NAMESPACE}_auth.auth_password
|
||
|
(objectPHID, phid, passwordType, passwordHash, passwordSalt, isRevoked,
|
||
|
dateCreated, dateModified)
|
||
|
SELECT phid, CONCAT('XACCOUNT', id), 'account', passwordHash, passwordSalt, 0,
|
||
|
dateCreated, dateModified
|
||
|
FROM {$NAMESPACE}_user.user
|
||
|
WHERE passwordHash != '';
|