forked from actualbudget/actual-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ (gocardless) renamed nordigen_* secrets to gocardless_* (actualbud…
- Loading branch information
1 parent
2ccbba0
commit 51f00b2
Showing
5 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import getAccountDb from '../src/account-db.js'; | ||
|
||
export const up = async function () { | ||
await getAccountDb().exec( | ||
`UPDATE secrets SET name = 'gocardless_secretId' WHERE name = 'nordigen_secretId'`, | ||
); | ||
await getAccountDb().exec( | ||
`UPDATE secrets SET name = 'gocardless_secretKey' WHERE name = 'nordigen_secretKey'`, | ||
); | ||
}; | ||
|
||
export const down = async function () { | ||
await getAccountDb().exec( | ||
`UPDATE secrets SET name = 'nordigen_secretId' WHERE name = 'gocardless_secretId'`, | ||
); | ||
await getAccountDb().exec( | ||
`UPDATE secrets SET name = 'nordigen_secretKey' WHERE name = 'gocardless_secretKey'`, | ||
); | ||
}; |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
category: Maintenance | ||
authors: [MatissJanis] | ||
--- | ||
|
||
migration: rename `nordigen_*` secrets to `gocardless_*` |