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

2
.gitmodules vendored
View File

@ -3,4 +3,4 @@
url = https://github.com/eclipse/mosquitto.git
[submodule "parts/mosquitto-go-auth"]
path = parts/mosquitto-go-auth
url = https://github.com/iegomez/mosquitto-go-auth.git
url = git@github.com:wollud1969/mosquitto-go-auth.git

View File

@ -1 +1 @@
2.0.15-1.9.1-03
2.0.15-1.9.1-04

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;