12 lines
569 B
Plaintext
12 lines
569 B
Plaintext
-- Table recording all significant changes of database-state for auditing purposes
|
|
TransactionLog
|
|
time UTCTime
|
|
instance InstanceId
|
|
initiator (CI Text) Maybe -- Case-insensitive user-identifier associated with performing this action
|
|
info Value -- JSON-encoded `Transaction`
|
|
request RequestInfo Maybe -- HTTP-Request info
|
|
-- Best guess of users affected by a change in database-state at time of transaction
|
|
TransactionLogAffected
|
|
transaction TransactionLogId
|
|
user (CI Text) -- Case-insensitive user-identifier
|
|
UniqueTransactionLogAffected transaction user |