1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Include new comment fields in backup/restore process

c_sectionid
c_replyto
This commit is contained in:
HarveyKandola 2019-06-12 13:52:30 +01:00
parent 216866a953
commit 64612b825a
5 changed files with 1101 additions and 1107 deletions

View file

@ -733,7 +733,8 @@ func (b backerHandler) dmzDocument(files *[]backupItem) (err error) {
err = b.Runtime.Db.Select(&cm, `
SELECT c_refid AS refid, c_orgid AS orgid, c_docid AS documentid,
c_userid AS userid, c_email AS email,
c_feedback AS feedback, c_created AS created
c_feedback AS feedback, c_sectionid AS sectionid, c_replyto AS replyto,
c_created AS created
FROM dmz_doc_comment`+w)
if err != nil {
return errors.Wrap(err, "select.doccomment")