view for migration

This commit is contained in:
Wolfgang Hottgenroth 2022-11-21 15:36:02 +01:00
parent a1affcf9cd
commit a159b4e677
Signed by: wn
GPG Key ID: 836E9E1192A6B132

View File

@ -0,0 +1,5 @@
create or replace view hivemq_to_mosquitto_auth_v as
select username,
'PBKDF2$' || lower(algorithm) || '$' || password_iterations || '$' || password_salt || '$' || "password" as pw
from users;