-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(backend): Support for EUGO and JCREDIT products (#237)
- Loading branch information
1 parent
51e40e9
commit 268501d
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
apps/backend/prisma/migrations/20221201124250_more_product_types/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- AlterEnum | ||
-- This migration adds more than one value to an enum. | ||
-- With PostgreSQL versions 11 and earlier, this is not possible | ||
-- in a single migration. This can be worked around by creating | ||
-- multiple migrations, each migration adding only one value to | ||
-- the enum. | ||
|
||
|
||
ALTER TYPE "ProductEnumType" ADD VALUE 'EUGO'; | ||
ALTER TYPE "ProductEnumType" ADD VALUE 'JCREDIT'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -237,6 +237,8 @@ enum ProductEnumType { | |
LGC | ||
REGO | ||
NFC | ||
EUGO | ||
JCREDIT | ||
} | ||
|
||
enum EnergySourceEnumType { | ||
|