Browse Source

Add SPLIT activity type to the database schema

Introduces the SPLIT value to the Type enum as a dormant foundation
for stock split support; no behavior depends on it yet.
pull/7433/head
Patrickt21 1 month ago
parent
commit
f5395fa03f
  1. 4
      CHANGELOG.md
  2. 2
      prisma/migrations/20260726075759_added_split_activity_type/migration.sql
  3. 1
      prisma/schema.prisma

4
CHANGELOG.md

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## Unreleased
### Added
- Added the `SPLIT` activity type to the database schema as a foundation for upcoming stock split support
### Changed ### Changed
- Deprecated `firstOrderDate` in favor of `dateOfFirstActivity` in the `GET api/v2/portfolio/performance` endpoint - Deprecated `firstOrderDate` in favor of `dateOfFirstActivity` in the `GET api/v2/portfolio/performance` endpoint

2
prisma/migrations/20260726075759_added_split_activity_type/migration.sql

@ -0,0 +1,2 @@
-- AlterEnum
ALTER TYPE "Type" ADD VALUE 'SPLIT';

1
prisma/schema.prisma

@ -379,6 +379,7 @@ enum Type {
INTEREST INTEREST
LIABILITY LIABILITY
SELL SELL
SPLIT
} }
enum ViewMode { enum ViewMode {

Loading…
Cancel
Save