mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
PRovide basic in-app purchase/renewal flow
This commit is contained in:
parent
e116d3b000
commit
d1b803b246
39 changed files with 1211 additions and 1154 deletions
|
@ -449,6 +449,11 @@ func (r *restoreHandler) dmzConfig() (err error) {
|
|||
r.Runtime.Log.Info(fmt.Sprintf("Extracted %s", filename))
|
||||
|
||||
for i := range c {
|
||||
// We skip database schema version setting as this varies
|
||||
// between database providers (e.g. MySQL v26, PostgreSQL v2).
|
||||
if strings.ToUpper(c[i].ConfigKey) == "META" {
|
||||
continue
|
||||
}
|
||||
err = r.Store.Setting.Set(c[i].ConfigKey, c[i].ConfigValue)
|
||||
if err != nil {
|
||||
err = errors.Wrap(err, fmt.Sprintf("unable to insert %s %s", filename, c[i].ConfigKey))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue