UpdatePluginConf updates plugin configuration.
(p *model.PluginConf)
| 74 | |
| 75 | // UpdatePluginConf updates plugin configuration. |
| 76 | func (d *GormDatabase) UpdatePluginConf(p *model.PluginConf) error { |
| 77 | return d.DB.Save(p).Error |
| 78 | } |
| 79 | |
| 80 | // DeletePluginConfByID deletes a plugin configuration by its id. |
| 81 | func (d *GormDatabase) DeletePluginConfByID(id uint) error { |