diff --git a/CHANGELOG.md b/CHANGELOG.md index 0435bb2a6..c4ac1f4c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Added + +- Added a data migration to set `accountType` to `NULL` in the account database table + ### Fixed - Improved the handling of derived currencies (`GBp`, `ILA`, `ZAc`) diff --git a/prisma/migrations/20231105135400_set_value_of_account_type_to_null_in_account/migration.sql b/prisma/migrations/20231105135400_set_value_of_account_type_to_null_in_account/migration.sql new file mode 100644 index 000000000..d22789bc7 --- /dev/null +++ b/prisma/migrations/20231105135400_set_value_of_account_type_to_null_in_account/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +UPDATE "Account" SET "accountType" = NULL;