Constructor
new History()
- Source:
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
id |
String | UUIDv4 which represents the history ID. |
|
users_id |
String | UUIDv4 which represents the user's ID refering to Users. |
|
endpoint |
String | endpoint that refers to the API route. |
|
action |
String | HTTP method used by the client. |
|
dataBefore |
Object |
<optional> |
Snapshot of data before change. |
dataAfter |
Object | Snapshot of data after change. |
|
createdAt |
Date | Time when it happened. |