Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with
14 additions and
14 deletions
-
prisma/migrations/20210605161257_added_symbol_profile/migration.sql
-
prisma/migrations/20210612110542_added_auth_device/migration.sql
-
prisma/migrations/20210616075245_added_sectors_to_symbol_profile/migration.sql
-
prisma/migrations/20210703194509_added_balance_to_account/migration.sql
-
prisma/migrations/20210724160404_added_currency_to_symbol_profile/migration.sql
-
prisma/migrations/20210807062952_added_is_draft_to_order/migration.sql
-
prisma/migrations/20210808075949_added_asset_class_to_symbol_profile/migration.sql
-
prisma/migrations/20210815180121_added_settings_to_settings/migration.sql
-
prisma/migrations/20210822200534_added_asset_sub_class_to_symbol_profile/migration.sql
-
prisma/migrations/20210916182355_added_data_source_to_market_data/migration.sql
-
prisma/migrations/20211107082008_added_symbol_mapping_to_symbol_profile/migration.sql
-
prisma/migrations/20211107171624_added_scraper_configuration_to_symbol_profile/migration.sql
-
prisma/migrations/20220227093650_added_url_to_symbol_profile/migration.sql
|
|
@ -1,5 +1,5 @@ |
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "Order" ADD COLUMN "symbolProfileId" TEXT; |
|
|
|
ALTER TABLE "Order" ADD COLUMN "symbolProfileId" TEXT; |
|
|
|
|
|
|
|
-- CreateTable |
|
|
|
CREATE TABLE "SymbolProfile" ( |
|
|
|
|
|
@ -1,5 +1,5 @@ |
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "User" ADD COLUMN "authChallenge" TEXT; |
|
|
|
ALTER TABLE "User" ADD COLUMN "authChallenge" TEXT; |
|
|
|
|
|
|
|
-- CreateTable |
|
|
|
CREATE TABLE "AuthDevice" ( |
|
|
|
|
|
@ -1,2 +1,2 @@ |
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "sectors" JSONB; |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "sectors" JSONB; |
|
|
|
|
|
@ -2,5 +2,5 @@ |
|
|
|
ALTER TYPE "AccountType" ADD VALUE 'CASH'; |
|
|
|
|
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "Account" ADD COLUMN "balance" DOUBLE PRECISION NOT NULL DEFAULT 0, |
|
|
|
ADD COLUMN "currency" "Currency" NOT NULL DEFAULT E'USD'; |
|
|
|
ALTER TABLE "Account" ADD COLUMN "balance" DOUBLE PRECISION NOT NULL DEFAULT 0, |
|
|
|
ADD COLUMN "currency" "Currency" NOT NULL DEFAULT E'USD'; |
|
|
|
|
|
@ -1,2 +1,2 @@ |
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "currency" "Currency"; |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "currency" "Currency"; |
|
|
|
|
|
@ -1,2 +1,2 @@ |
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "Order" ADD COLUMN "isDraft" BOOLEAN NOT NULL DEFAULT false; |
|
|
|
ALTER TABLE "Order" ADD COLUMN "isDraft" BOOLEAN NOT NULL DEFAULT false; |
|
|
|
|
|
@ -2,4 +2,4 @@ |
|
|
|
CREATE TYPE "AssetClass" AS ENUM ('CASH', 'COMMODITY', 'EQUITY'); |
|
|
|
|
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "assetClass" "AssetClass"; |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "assetClass" "AssetClass"; |
|
|
|
|
|
@ -1,2 +1,2 @@ |
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "Settings" ADD COLUMN "settings" JSONB; |
|
|
|
ALTER TABLE "Settings" ADD COLUMN "settings" JSONB; |
|
|
|
|
|
@ -2,4 +2,4 @@ |
|
|
|
CREATE TYPE "AssetSubClass" AS ENUM ('CRYPTOCURRENCY', 'ETF', 'STOCK'); |
|
|
|
|
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "assetSubClass" "AssetSubClass"; |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "assetSubClass" "AssetSubClass"; |
|
|
|
|
|
@ -1,2 +1,2 @@ |
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "MarketData" ADD COLUMN "dataSource" "DataSource" NOT NULL DEFAULT E'YAHOO'; |
|
|
|
ALTER TABLE "MarketData" ADD COLUMN "dataSource" "DataSource" NOT NULL DEFAULT E'YAHOO'; |
|
|
|
|
|
@ -1,2 +1,2 @@ |
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "symbolMapping" JSONB; |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "symbolMapping" JSONB; |
|
|
|
|
|
@ -1,2 +1,2 @@ |
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "scraperConfiguration" JSONB; |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "scraperConfiguration" JSONB; |
|
|
|
|
|
@ -1,2 +1,2 @@ |
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "url" TEXT; |
|
|
|
ALTER TABLE "SymbolProfile" ADD COLUMN "url" TEXT; |
|
|
|