diff --git a/CHANGELOG.md b/CHANGELOG.md index 99024983a..f1c36bc90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Added an index for `isExcluded` to the account database table - Extended the content of the _Self-Hosting_ section on the Frequently Asked Questions (FAQ) page ### Changed diff --git a/prisma/migrations/20240229191929_added_index_for_is_excluded_to_account/migration.sql b/prisma/migrations/20240229191929_added_index_for_is_excluded_to_account/migration.sql new file mode 100644 index 000000000..70408fff3 --- /dev/null +++ b/prisma/migrations/20240229191929_added_index_for_is_excluded_to_account/migration.sql @@ -0,0 +1,2 @@ +-- CreateIndex +CREATE INDEX "Account_isExcluded_idx" ON "Account"("isExcluded"); diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 29ebcda26..df0f15e9e 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -44,6 +44,7 @@ model Account { @@id([id, userId]) @@index([currency]) @@index([id]) + @@index([isExcluded]) @@index([name]) @@index([userId]) }