mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +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 != '';
|