UPDATE [dbo].[WorkspaceAccessTokens]
SET
    [WorkspaceId] = @WorkspaceId,
    [SubjectId] = @SubjectId,
    [Name] = @Name,
    [TokenHash] = @TokenHash,
    [RoleIdsJson] = @RoleIdsJson,
    [CreatedAt] = @CreatedAt,
    [CreatedBy] = @CreatedBy,
    [ExpiresAt] = @ExpiresAt,
    [LastUsedAt] = @LastUsedAt,
    [RevokedAt] = @RevokedAt,
    [RevokedBy] = @RevokedBy
WHERE [Id] = @Id;
