view for hivemq migration

This commit is contained in:
2022-11-21 15:18:42 +01:00
parent eacbb6180c
commit c6c8db5e98
4 changed files with 8 additions and 3 deletions

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;