chore(pgsql): restart emqx_auth_pgsql due to the egpsql upgraded

We have to restart the emqx_auth_pgsql because epgsql has upgraded 4.4.0 to 4.6.0
see: #8001
This commit is contained in:
JianBo He 2022-05-23 20:21:21 +08:00
parent 31235ff654
commit 2b81839126
1 changed files with 6 additions and 20 deletions

View File

@ -1,25 +1,11 @@
%% -*- mode: erlang -*- %% -*- mode: erlang -*-
%% Unless you know what you are doing, DO NOT edit manually!! %% Unless you know what you are doing, DO NOT edit manually!!
{VSN, {VSN,
[{<<"4\\.3\\.[1-2]">>, [{<<"4\\.3\\.[0-2]">>,
%% epgsql 4.4.0 -> 4.6.0. %% restart it due to epgsql upgraded from 4.4.0 to 4.6.0
%% epgsql has no appup ,so we can only restart it. %% in emqx_auth_pgsql:v4.3.3
[{restart_application,epgsql}, [{restart_application,emqx_auth_pgsql}]},
{load_module,emqx_auth_pgsql_app,brutal_purge,soft_purge,[]},
{load_module,emqx_auth_pgsql,brutal_purge,soft_purge,[]}]},
{"4.3.0",
[{restart_application,epgsql},
{load_module,emqx_auth_pgsql_app,brutal_purge,soft_purge,[]},
{load_module,emqx_auth_pgsql,brutal_purge,soft_purge,[]},
{load_module,emqx_acl_pgsql,brutal_purge,soft_purge,[]}]},
{<<".*">>,[]}], {<<".*">>,[]}],
[{<<"4\\.3\\.[1-2]">>, [{<<"4\\.3\\.[0-2]">>,
[{restart_application,epgsql}, [{restart_application,emqx_auth_pgsql}]},
{load_module,emqx_auth_pgsql_app,brutal_purge,soft_purge,[]},
{load_module,emqx_auth_pgsql,brutal_purge,soft_purge,[]}]},
{"4.3.0",
[{load_module,emqx_auth_pgsql,brutal_purge,soft_purge,[]},
{restart_application,epgsql},
{load_module,emqx_auth_pgsql_app,brutal_purge,soft_purge,[]},
{load_module,emqx_acl_pgsql,brutal_purge,soft_purge,[]}]},
{<<".*">>,[]}]}. {<<".*">>,[]}]}.