Created
October 8, 2020 09:27
-
-
Save markwylde/9b4b477ab950c3c45038d05b6595fed5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildInsertStatement = require('./common/buildInsertStatement') | |
await db.run(`DELETE FROM "settings" WHERE "key" = 'acmeDirectoryUrl'`) | |
statement = buildInsertStatement('settings', { | |
key: 'acmeDirectoryUrl', | |
value: JSON.stringify('https://acme-v02.api.letsencrypt.org/directory') | |
}) | |
await db.run(statement.sql, statement.parameters) | |
await db.run(`DELETE FROM "certificates"`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment