Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/add settings to Access model (#5573)
Thomas Kaul28bdcc63d8f9
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 026d511be0..c4caf36258 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).+## Unreleased++### Added++- Added `settings` to the `Access` model+## 2.201.0 - 2025-09-24### Addeddiff --git a/prisma/migrations/20250924210446_added_settings_to_access/migration.sql b/prisma/migrations/20250924210446_added_settings_to_access/migration.sqlnew file mode 100644index 0000000000..e6b1c4ac1e--- /dev/null+++ b/prisma/migrations/20250924210446_added_settings_to_access/migration.sql@@ -0,0 +1,2 @@+-- AlterTable+ALTER TABLE "public"."Access" ADD COLUMN "settings" JSONB NOT NULL DEFAULT '{}';diff --git a/prisma/schema.prisma b/prisma/schema.prismaindex 67ca81682f..7a3c613cac 100644--- a/prisma/schema.prisma+++ b/prisma/schema.prisma@@ -16,6 +16,7 @@ model Access {granteeUserId String?id String @id @default(uuid())permissions AccessPermission[] @default([READ_RESTRICTED])+ settings Json @default("{}")updatedAt DateTime @updatedAtuserId Stringuser User @relation("accessGive", fields: [userId], onDelete: Cascade, references: [id])