12 lines
590 B
Plaintext
12 lines
590 B
Plaintext
-- Table recording all significant changes of database-state for auditing purposes
|
|
TransactionLog
|
|
time UTCTime
|
|
instance InstanceId
|
|
initiator UserIdent Maybe -- Case-insensitive user-identifier associated with performing this action
|
|
remote IP Maybe -- Remote party that triggered this action via HTTP
|
|
info Value -- JSON-encoded `Transaction`
|
|
-- Best guess of users affected by a change in database-state at time of transaction
|
|
TransactionLogAffected
|
|
transaction TransactionLogId
|
|
user UserIdent -- Case-insensitive user-identifier
|
|
UniqueTransactionLogAffected transaction user |