Browse Source

Feature/remove rakuten from data source (#1361)

* Remove Rakuten

* Update changelog
pull/1362/head^2
Thomas Kaul 2 years ago
committed by GitHub
parent
commit
33cc7e4e7e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 9
      prisma/migrations/20221016065824_removed_rakuten_from_data_source/migration.sql
  3. 1
      prisma/schema.prisma

1
CHANGELOG.md

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Persisted the language on url change - Persisted the language on url change
- Removed the data source type `RAKUTEN`
## 1.204.1 - 15.10.2022 ## 1.204.1 - 15.10.2022

9
prisma/migrations/20221016065824_removed_rakuten_from_data_source/migration.sql

@ -0,0 +1,9 @@
-- AlterEnum
BEGIN;
CREATE TYPE "DataSource_new" AS ENUM ('ALPHA_VANTAGE', 'EOD_HISTORICAL_DATA', 'GHOSTFOLIO', 'GOOGLE_SHEETS', 'MANUAL', 'RAPID_API', 'YAHOO');
ALTER TABLE "MarketData" ALTER COLUMN "dataSource" TYPE "DataSource_new" USING ("dataSource"::text::"DataSource_new");
ALTER TABLE "SymbolProfile" ALTER COLUMN "dataSource" TYPE "DataSource_new" USING ("dataSource"::text::"DataSource_new");
ALTER TYPE "DataSource" RENAME TO "DataSource_old";
ALTER TYPE "DataSource_new" RENAME TO "DataSource";
DROP TYPE "DataSource_old";
COMMIT;

1
prisma/schema.prisma

@ -206,7 +206,6 @@ enum DataSource {
GHOSTFOLIO GHOSTFOLIO
GOOGLE_SHEETS GOOGLE_SHEETS
MANUAL MANUAL
RAKUTEN
RAPID_API RAPID_API
YAHOO YAHOO
} }

Loading…
Cancel
Save