[Auto] [Backend] GET /api/v1/notifications: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.UndefinedColumnError'>: column notifications.entity_type does not exist [SQL: SELECT notifications.id, notifications.entity... #91
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Error Report
Message: [Backend] GET /api/v1/notifications: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.UndefinedColumnError'>: column notifications.entity_type does not exist
[SQL: SELECT notifications.id, notifications.entity_type, notifications.entity_id, notifications.user_id, notifications.type, notifications.title, notifications.body, notifications.read_at, notifications.created_at, notifications.tenant_id, notifications.updated_at, notifications.deleted_at
FROM notifications
WHERE notifications.tenant_id = $1::UUID AND notifications.user_id = $2::UUID ORDER BY notifications.read_at IS NOT NULL, notifications.created_at DESC
LIMIT $3::INTEGER OFFSET $4::INTEGER]
[parameters: (UUID('bfe4d09e-e84d-4e01-ba00-8bc2aa49e5aa'), UUID('8dcd2e7c-2edf-433b-b0c2-dcb120575e19'), 25, 0)]
(Background on this error at: https://sqlalche.me/e/20/f405)
Stack:
URL: http://crm.media-on.de/api/v1/notifications
Context: