Skip to content

A local-first personal finance app

:bug: fix sync: add back 'accounts.type' column (#1317)

Matiss Janis Aboltins91474f1f0c36
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