Feature/remove default value of data source (#379)
* Remove default value of dataSource * Update changelog
This commit is contained in:
parent
d5392de7c9
commit
f2364eed10
18
CHANGELOG.md
18
CHANGELOG.md
@ -5,6 +5,16 @@ 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
|
||||
|
||||
### Changed
|
||||
|
||||
- Removed the default value of the data source attribute
|
||||
|
||||
### Todo
|
||||
|
||||
- Apply data migration (`yarn prisma migrate deploy`)
|
||||
|
||||
## 1.54.0 - 18.09.2021
|
||||
|
||||
### Added
|
||||
@ -24,7 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Todo
|
||||
|
||||
- Apply data migration (`yarn database:push`)
|
||||
- Apply data migration (`yarn prisma migrate deploy`)
|
||||
|
||||
## 1.53.0 - 13.09.2021
|
||||
|
||||
@ -146,7 +156,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Todo
|
||||
|
||||
- Apply data migration (`yarn database:push`)
|
||||
- Apply data migration (`yarn prisma migrate deploy`)
|
||||
|
||||
## 1.41.0 - 21.08.2021
|
||||
|
||||
@ -199,7 +209,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Todo
|
||||
|
||||
- Apply data migration (`yarn database:push`)
|
||||
- Apply data migration (`yarn prisma migrate deploy`)
|
||||
|
||||
## 1.38.0 - 14.08.2021
|
||||
|
||||
@ -259,7 +269,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Todo
|
||||
|
||||
- Apply data migration (`yarn database:push`)
|
||||
- Apply data migration (`yarn prisma migrate deploy`)
|
||||
|
||||
## 1.34.0 - 07.08.2021
|
||||
|
||||
|
@ -0,0 +1,5 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "MarketData" ALTER COLUMN "dataSource" DROP DEFAULT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "Order" ALTER COLUMN "dataSource" DROP DEFAULT;
|
@ -62,7 +62,7 @@ model AuthDevice {
|
||||
|
||||
model MarketData {
|
||||
createdAt DateTime @default(now())
|
||||
dataSource DataSource @default(YAHOO)
|
||||
dataSource DataSource
|
||||
date DateTime
|
||||
id String @default(uuid())
|
||||
symbol String
|
||||
@ -78,7 +78,7 @@ model Order {
|
||||
accountUserId String?
|
||||
createdAt DateTime @default(now())
|
||||
currency Currency?
|
||||
dataSource DataSource @default(YAHOO)
|
||||
dataSource DataSource
|
||||
date DateTime
|
||||
fee Float
|
||||
id String @default(uuid())
|
||||
|
Loading…
x
Reference in New Issue
Block a user