Feature/remove rakuten from data source type (#1534)
* Remove RAKUTEN * Update changelog
This commit is contained in:
parent
8793284e75
commit
0b65d05013
@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Added the tags to the admin control panel
|
- Added the tags to the admin control panel
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Removed the data source type `RAKUTEN`
|
||||||
|
|
||||||
## 1.220.0 - 2022-12-23
|
## 1.220.0 - 2022-12-23
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -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;
|
@ -207,7 +207,6 @@ enum DataSource {
|
|||||||
GHOSTFOLIO
|
GHOSTFOLIO
|
||||||
GOOGLE_SHEETS
|
GOOGLE_SHEETS
|
||||||
MANUAL
|
MANUAL
|
||||||
RAKUTEN
|
|
||||||
RAPID_API
|
RAPID_API
|
||||||
YAHOO
|
YAHOO
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user