Skip to content

EntityHistory

One change to an audited item: its old and new values, and who made the change.

type EntityHistory {
applicationName: String
changedColumns: [String!]
clientAddress: String
dbUser: String!
entityId: Guid
id: Long!
newRow: Json
occurredAt: Instant!
oldRow: Json
operation: String!
tableName: String!
ticketingUserId: Guid
transactionId: Long!
user: User
}

The application name of the database connection.

The top-level columns that changed. Only for an update.

The IP address of the database client. Null for a local connection.

The database role that made the change.

The item that changed.

Unique identifier.

The whole row after the change, as JSON. Null for a delete.

When the change was made.

The whole row before the change, as JSON. Null for an insert.

The change: I for an insert, U for an update, D for a delete.

The database table of the item.

The user who made the change. Null for a change outside the app, such as a migration.

The database transaction of the change. All the rows of one save have the same value.

The user who made the change. Null for a change outside the app, or a deleted user.

EntityHistoryConnection object ● EntityHistoryEdge object