[Auto] [Backend] GET /api/v1/tokens: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.UndefinedColumnError'>: column api_tokens.updated_at does not exist HINT: Perhaps you meant to reference the column "api_tokens.c... #323
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/tokens: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.UndefinedColumnError'>: column api_tokens.updated_at does not exist
HINT: Perhaps you meant to reference the column "api_tokens.created_at".
[SQL: SELECT api_tokens.id, api_tokens.user_id, api_tokens.token_hash, api_tokens.name, api_tokens.scopes, api_tokens.expires_at, api_tokens.last_used_at, api_tokens.created_at, api_tokens.revoked_at, api_tokens.tenant_id, api_tokens.updated_at, api_tokens.deleted_at
FROM api_tokens
WHERE api_tokens.tenant_id = $1::UUID AND api_tokens.user_id = $2::UUID AND api_tokens.revoked_at IS NULL ORDER BY api_tokens.created_at DESC]
[parameters: (UUID('bfe4d09e-e84d-4e01-ba00-8bc2aa49e5aa'), UUID('8dcd2e7c-2edf-433b-b0c2-dcb120575e19'))]
(Background on this error at: https://sqlalche.me/e/20/f405)
Stack:
URL: http://crm.media-on.de/api/v1/tokens
Context: