Skip to content

Database Schema

teaminfinitydev edited this page Jun 23, 2025 · 1 revision

The package creates an activity_logs table with the following structure:

Column Type Description
id bigint Primary key
event_type string Type of event (e.g., 'user.login')
description text Human-readable description
subject_type string Model class of the subject
subject_id bigint ID of the subject model
causer_type string Model class of the causer
causer_id bigint ID of the causer model
properties json Additional event data
discord_sent boolean Whether sent to Discord
discord_sent_at timestamp When sent to Discord
created_at timestamp When the log was created
updated_at timestamp When the log was updated
Clone this wiki locally