25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Update 'pubsub_node' column name for DB export

The 'type' column has been renamed in commit
44700d91ba.
This commit is contained in:
Holger Weiss 2018-01-19 13:10:14 +01:00
parent c0ef054f6f
commit 818ff5a263

View File

@ -159,7 +159,7 @@ export(_Server) ->
?SQL("delete from pubsub_node_owner where nodeid=%(Nidx)d;"),
?SQL("delete from pubsub_state where nodeid=%(Nidx)d;"),
?SQL("delete from pubsub_item where nodeid=%(Nidx)d;"),
?SQL("insert into pubsub_node(host,node,nodeid,parent,type)"
?SQL("insert into pubsub_node(host,node,nodeid,parent,plugin)"
" values (%(H)s, %(Node)s, %(Nidx)d, %(Parent)s, %(Type)s);")]
++ lists:map(
fun ({Key, Value}) ->