diff --git a/modules/pool/pool.prisma b/modules/pool/pool.prisma index 8d5a739bd..b382b3bf8 100644 --- a/modules/pool/pool.prisma +++ b/modules/pool/pool.prisma @@ -17,7 +17,7 @@ model PrismaPool { vaultVersion Int @default(2) - typeData Json @default("{}") @map("type_data") + typeData Json @default("{}") tokens PrismaPoolToken[] diff --git a/prisma/migrations/20240207160000_jsonb_pool_data_column_rename/migration.sql b/prisma/migrations/20240207160000_jsonb_pool_data_column_rename/migration.sql index 8dc04e4d4..59164df2a 100644 --- a/prisma/migrations/20240207160000_jsonb_pool_data_column_rename/migration.sql +++ b/prisma/migrations/20240207160000_jsonb_pool_data_column_rename/migration.sql @@ -1,2 +1,2 @@ -- Remove old tables -ALTER TABLE "PrismaPool" RENAME COLUMN "staticTypeData" TO type_data; +ALTER TABLE "PrismaPool" RENAME COLUMN "staticTypeData" TO "typeData";