mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 00:13:45 -05:00
Fix migration ID for “remove account type” migration (#1109)
Good catch @Jackenmen in https://github.com/actualbudget/actual/pull/948#issuecomment-1580501909 — I’ve also added a CI check to ensure bad migrations aren’t introduced in the future. I think if you have a budget that has managed to have this migration applied successfully, you’ll need to manually patch `getAppliedMigrations` in `packages/loot-core/src/server/migrate/migrations.ts` and inject a query to remove the old migration ID and insert the new one.
This commit is contained in:
10
.github/workflows/check.yml
vendored
10
.github/workflows/check.yml
vendored
@@ -32,3 +32,13 @@ jobs:
|
||||
uses: ./.github/actions/setup
|
||||
- name: Test
|
||||
run: yarn test
|
||||
|
||||
migrations:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '19'
|
||||
- name: Check migrations
|
||||
run: node ./.github/actions/check-migrations.js
|
||||
|
||||
Reference in New Issue
Block a user