Skip to content

Commit

Permalink
chore(backend): Support for EUGO and JCREDIT products (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
josipbagaric authored Dec 1, 2022
1 parent 51e40e9 commit 268501d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
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';
2 changes: 2 additions & 0 deletions apps/backend/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ enum ProductEnumType {
LGC
REGO
NFC
EUGO
JCREDIT
}

enum EnergySourceEnumType {
Expand Down

0 comments on commit 268501d

Please sign in to comment.