feat: add DB migration to add the hash of T&C
This commit is contained in:
parent
469f38b768
commit
0213ceb7fe
1 changed files with 11 additions and 0 deletions
11
migrations/1649944954805-terms-and-conditions-hash.js
Normal file
11
migrations/1649944954805-terms-and-conditions-hash.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
const { saveConfig } = require('../lib/new-settings-loader')
|
||||
|
||||
exports.up = function (next) {
|
||||
return saveConfig({})
|
||||
.then(next)
|
||||
.catch(next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue