From 91474f1f0c3693c7af9d3193810120f54a3b1304 Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins Date: Sun, 9 Jul 2023 16:13:30 +0100 Subject: [PATCH] :bug: fix sync: add back 'accounts.type' column (#1317) Closes #1296 After this is merged I'll do an API release which will also solve https://github.com/actualbudget/actual/issues/1303 --- packages/api/package.json | 2 +- .../loot-core/migrations/1688841238000_add_account_type.sql | 5 +++++ upcoming-release-notes/1317.md | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 packages/loot-core/migrations/1688841238000_add_account_type.sql create mode 100644 upcoming-release-notes/1317.md diff --git a/packages/api/package.json b/packages/api/package.json index 2e1af2ff0e..0ccaec8dfa 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@actual-app/api", - "version": "6.1.0", + "version": "6.1.1", "license": "MIT", "description": "An API for Actual", "main": "dist/index.js", diff --git a/packages/loot-core/migrations/1688841238000_add_account_type.sql b/packages/loot-core/migrations/1688841238000_add_account_type.sql new file mode 100644 index 0000000000..e31360e73e --- /dev/null +++ b/packages/loot-core/migrations/1688841238000_add_account_type.sql @@ -0,0 +1,5 @@ +BEGIN TRANSACTION; + +ALTER TABLE accounts ADD COLUMN type TEXT; + +COMMIT; diff --git a/upcoming-release-notes/1317.md b/upcoming-release-notes/1317.md new file mode 100644 index 0000000000..a3d6ea3102 --- /dev/null +++ b/upcoming-release-notes/1317.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [MatissJanis] +--- + +Fix sync: add back account type column