diff --git a/modules/pool/lib/pool-creator.service.ts b/modules/pool/lib/pool-creator.service.ts index cf035e527..e9f296e58 100644 --- a/modules/pool/lib/pool-creator.service.ts +++ b/modules/pool/lib/pool-creator.service.ts @@ -407,6 +407,8 @@ export class PoolCreatorService { return 'GYRO3'; case 'GyroE': return 'GYROE'; + case 'FX': + return 'FX'; } // balancer still uses AaveLinear, etc, so we account for that here diff --git a/prisma/migrations/20230918105657_add_composable_fx_pool_types/migration.sql b/prisma/migrations/20230918105657_add_composable_fx_pool_types/migration.sql new file mode 100644 index 000000000..13e398e12 --- /dev/null +++ b/prisma/migrations/20230918105657_add_composable_fx_pool_types/migration.sql @@ -0,0 +1,9 @@ +-- 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 "PrismaPoolType" ADD VALUE 'FX'; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 76e03f730..4ba50cda4 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -101,6 +101,7 @@ enum PrismaPoolType { GYRO GYRO3 GYROE + FX } model PrismaPoolLinearData {