2025-10-28T16:17:08.620501200Z detail: undefined, 2025-10-28T16:17:08.620508184Z hint: undefined, 2025-10-28T16:17:08.620511409Z position: '490', 2025-10-28T16:17:08.620514425Z internalPosition: undefined, 2025-10-28T16:17:08.620517110Z internalQuery: undefined, 2025-10-28T16:17:08.620519785Z where: undefined, 2025-10-28T16:17:08.620522500Z schema: undefined, 2025-10-28T16:17:08.620525296Z table: undefined, 2025-10-28T16:17:08.620527890Z column: undefined, 2025-10-28T16:17:08.620530466Z dataType: undefined, 2025-10-28T16:17:08.620533070Z constraint: undefined, 2025-10-28T16:17:08.620535935Z file: 'parse_relation.c', 2025-10-28T16:17:08.620538521Z line: '3722', 2025-10-28T16:17:08.620541115Z routine: 'errorMissingColumn' 2025-10-28T16:17:08.620543840Z }, 2025-10-28T16:17:08.620546565Z length: 127, 2025-10-28T16:17:08.620549181Z severity: 'ERROR', 2025-10-28T16:17:08.620551765Z code: '42703', 2025-10-28T16:17:08.620554370Z detail: undefined, 2025-10-28T16:17:08.620557215Z hint: undefined, 2025-10-28T16:17:08.620559940Z position: '490', 2025-10-28T16:17:08.620562796Z internalPosition: undefined, 2025-10-28T16:17:08.620565671Z internalQuery: undefined, 2025-10-28T16:17:08.620568285Z where: undefined, 2025-10-28T16:17:08.620570850Z schema: undefined, 2025-10-28T16:17:08.620573435Z table: undefined, 2025-10-28T16:17:08.620575990Z column: undefined, 2025-10-28T16:17:08.620578584Z dataType: undefined, 2025-10-28T16:17:08.620581280Z constraint: undefined, 2025-10-28T16:17:08.620583954Z file: 'parse_relation.c', 2025-10-28T16:17:08.620586670Z line: '3722', 2025-10-28T16:17:08.620589305Z routine: 'errorMissingColumn' 2025-10-28T16:17:08.620591959Z } 2025-10-28T16:17:08.620594484Z ] 2025-10-28T16:17:09.178292973Z query failed: SELECT "Workspace"."id" AS "Workspace_id", "Workspace"."displayName" AS "Workspace_displayName", "Workspace"."logo" AS "Workspace_logo", "Workspace"."inviteHash" AS "Workspace_inviteHash", "Workspace"."deletedAt" AS "Workspace_deletedAt", "Workspace"."createdAt" AS "Workspace_createdAt", "Workspace"."updatedAt" AS "Workspace_updatedAt", "Workspace"."allowImpersonation" AS "Workspace_allowImpersonation", "Workspace"."isPublicInviteLinkEnabled" AS "Workspace_isPublicInviteLinkEnabled", "Workspace"."trashRetentionDays" AS "Workspace_trashRetentionDays", "Workspace"."activationStatus" AS "Workspace_activationStatus", "Workspace"."metadataVersion" AS "Workspace_metadataVersion", "Workspace"."databaseUrl" AS "Workspace_databaseUrl", "Workspace"."databaseSchema" AS "Workspace_databaseSchema", "Workspace"."subdomain" AS "Workspace_subdomain", "Workspace"."customDomain" AS "Workspace_customDomain", "Workspace"."isGoogleAuthEnabled" AS "Workspace_isGoogleAuthEnabled", "Workspace"."isTwoFactorAuthenticationEnforced" AS "Workspace_isTwoFactorAuthenticationEnforced", "Workspace"."isPasswordAuthEnabled" AS "Workspace_isPasswordAuthEnabled", "Workspace"."isMicrosoftAuthEnabled" AS "Workspace_isMicrosoftAuthEnabled", "Workspace"."isCustomDomainEnabled" AS "Workspace_isCustomDomainEnabled", "Workspace"."defaultRoleId" AS "Workspace_defaultRoleId", "Workspace"."defaultAgentId" AS "Workspace_defaultAgentId", "Workspace"."version" AS "Workspace_version" FROM "core"."workspace" "Workspace" WHERE ( (("Workspace"."id" = $1)) ) AND ( "Workspace"."deletedAt" IS NULL ) LIMIT 1 -- PARAMETERS: ["2fb6fdd2-2d9e-4726-8dd1-780489cac97d"] 2025-10-28T16:17:09.178343899Z error: error: column Workspace.trashRetentionDays does not exist 2025-10-28T16:17:09.180714912Z Exception Captured 2025-10-28T16:17:09.180869151Z { user: undefined, workspace: undefined } 2025-10-28T16:17:09.181403761Z [ 2025-10-28T16:17:09.181417045Z QueryFailedError: column Workspace.trashRetentionDays does not exist 2025-10-28T16:17:09.181421032Z at PostgresQueryRunner.query (/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:219:19) 2025-10-28T16:17:09.181424118Z at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-10-28T16:17:09.181426843Z at async SelectQueryBuilder.loadRawResults (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:2192:25) 2025-10-28T16:17:09.181429899Z at async SelectQueryBuilder.executeEntitiesAndRawResults (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:2040:26) 2025-10-28T16:17:09.181432784Z at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:684:29) 2025-10-28T16:17:09.181435560Z at async SelectQueryBuilder.getOne (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:711:25) 2025-10-28T16:17:09.181438566Z at async JwtAuthStrategy.validateAccessToken (/app/packages/twenty-server/dist/src/engine/core-modules/auth/strategies/jwt.auth.strategy.js:64:27) 2025-10-28T16:17:09.181441421Z at async JwtAuthStrategy.validate (/app/packages/twenty-server/dist/src/engine/core-modules/auth/strategies/jwt.auth.strategy.js:190:20) 2025-10-28T16:17:09.181444316Z at async AccessTokenService.validateToken (/app/packages/twenty-server/dist/src/engine/core-modules/auth/token/services/access-token.service.js:108:25) 2025-10-28T16:17:09.181447121Z at async MiddlewareService.hydrateGraphqlRequest (/app/packages/twenty-server/dist/src/engine/middlewares/middleware.service.js:107:22) { 2025-10-28T16:17:09.181451149Z query: 'SELECT "Workspace"."id" AS "Workspace_id", "Workspace"."displayName" AS "Workspace_displayName", "Workspace"."logo" AS "Workspace_logo", "Workspace"."inviteHash" AS "Workspace_inviteHash", "Workspace"."deletedAt" AS "Workspace_deletedAt", "Workspace"."createdAt" AS "Workspace_createdAt", "Workspace"."updatedAt" AS "Workspace_updatedAt", "Workspace"."allowImpersonation" AS "Workspace_allowImpersonation", "Workspace"."isPublicInviteLinkEnabled" AS "Workspace_isPublicInviteLinkEnabled", "Workspace"."trashRetentionDays" AS "Workspace_trashRetentionDays", "Workspace"."activationStatus" AS "Workspace_activationStatus", "Workspace"."metadataVersion" AS "Workspace_metadataVersion", "Workspace"."databaseUrl" AS "Workspace_databaseUrl", "Workspace"."databaseSchema" AS "Workspace_databaseSchema", "Workspace"."subdomain" AS "Workspace_subdomain", "Workspace"."customDomain" AS "Workspace_customDomain", "Workspace"."isGoogleAuthEnabled" AS "Workspace_isGoogleAuthEnabled", "Workspace"."isTwoFactorAuthenticationEnforced" AS "Workspace_isTwoFactorAuthenticationEnforced", "Workspace"."isPasswordAuthEnabled" AS "Workspace_isPasswordAuthEnabled", "Workspace"."isMicrosoftAuthEnabled" AS "Workspace_isMicrosoftAuthEnabled", "Workspace"."isCustomDomainEnabled" AS "Workspace_isCustomDomainEnabled", "Workspace"."defaultRoleId" AS "Workspace_defaultRoleId", "Workspace"."defaultAgentId" AS "Workspace_defaultAgentId", "Workspace"."version" AS "Workspace_version" FROM "core"."workspace" "Workspace" WHERE ( (("Workspace"."id" = $1)) ) AND ( "Workspace"."deletedAt" IS NULL ) LIMIT 1', 2025-10-28T16:17:09.181471197Z parameters: [ '2fb6fdd2-2d9e-4726-8dd1-780489cac97d' ], 2025-10-28T16:17:09.181474172Z driverError: error: column Workspace.trashRetentionDays does not exist 2025-10-28T16:17:09.181476878Z at /app/node_modules/pg/lib/client.js:526:17 2025-10-28T16:17:09.181479653Z at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-10-28T16:17:09.181482397Z at async PostgresQueryRunner.query (/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:184:25) 2025-10-28T16:17:09.181485223Z at async SelectQueryBuilder.loadRawResults (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:2192:25) 2025-10-28T16:17:09.181487978Z at async SelectQueryBuilder.executeEntitiesAndRawResults (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:2040:26) 2025-10-28T16:17:09.181490763Z at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:684:29) 2025-10-28T16:17:09.181493498Z at async SelectQueryBuilder.getOne (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:711:25) 2025-10-28T16:17:09.181496223Z at async JwtAuthStrategy.validateAccessToken (/app/packages/twenty-server/dist/src/engine/core-modules/auth/strategies/jwt.auth.strategy.js:64:27) 2025-10-28T16:17:09.181499389Z at async JwtAuthStrategy.validate (/app/packages/twenty-server/dist/src/engine/core-modules/auth/strategies/jwt.auth.strategy.js:190:20) 2025-10-28T16:17:09.181502495Z at async AccessTokenService.validateToken (/app/packages/twenty-server/dist/src/engine/core-modules/auth/token/services/access-token.service.js:108:25) { 2025-10-28T16:17:09.181505431Z length: 127, 2025-10-28T16:17:09.181508166Z severity: 'ERROR', 2025-10-28T16:17:09.181516662Z code: '42703', 2025-10-28T16:17:09.181519607Z detail: undefined, 2025-10-28T16:17:09.181528214Z hint: undefined, 2025-10-28T16:17:09.181531369Z position: '490', 2025-10-28T16:17:09.181534445Z internalPosition: undefined, 2025-10-28T16:17:09.181537191Z internalQuery: undefined, 2025-10-28T16:17:09.181539895Z where: undefined, 2025-10-28T16:17:09.181542420Z schema: undefined, 2025-10-28T16:17:09.181544995Z table: undefined, 2025-10-28T16:17:09.181547530Z column: undefined, 2025-10-28T16:17:09.181550095Z dataType: undefined, 2025-10-28T16:17:09.181552639Z constraint: undefined, 2025-10-28T16:17:09.181555545Z file: 'parse_relation.c', 2025-10-28T16:17:09.181558310Z line: '3722', 2025-10-28T16:17:09.181561065Z routine: 'errorMissingColumn' 2025-10-28T16:17:09.181563680Z }, 2025-10-28T16:17:09.181566345Z length: 127, 2025-10-28T16:17:09.181568940Z severity: 'ERROR', 2025-10-28T16:17:09.181571535Z code: '42703', 2025-10-28T16:17:09.181574200Z detail: undefined, 2025-10-28T16:17:09.181576764Z hint: undefined, 2025-10-28T16:17:09.181579499Z position: '490', 2025-10-28T16:17:09.181582215Z internalPosition: undefined, 2025-10-28T16:17:09.181584840Z internalQuery: undefined, 2025-10-28T16:17:09.181587445Z where: undefined, 2025-10-28T16:17:09.181590109Z schema: undefined, 2025-10-28T16:17:09.181592664Z table: undefined, 2025-10-28T16:17:09.181595189Z column: undefined, 2025-10-28T16:17:09.181597734Z dataType: undefined, 2025-10-28T16:17:09.181600338Z constraint: undefined, 2025-10-28T16:17:09.181602903Z file: 'parse_relation.c', 2025-10-28T16:17:09.181605468Z line: '3722', 2025-10-28T16:17:09.181608103Z routine: 'errorMissingColumn' 2025-10-28T16:17:09.181610867Z } 2025-10-28T16:17:09.181613482Z ]