AuditTable
A table mixin that provides full audit trail functionality. Combines TimestampTable (createdAt, updatedAt) with SoftDeletableTable (deletedAt) and adds creator/modifier tracking.
Use this for tables where you need complete audit history including who created/modified records.
Example:
class UserTable(pluginId: String) : PluginTable(pluginId, "users"), AuditTable {
val id = integer("id").autoIncrement()
val name = varchar("name", 100)
// AuditTable provides: createdAt, updatedAt, deletedAt, createdBy, updatedBy
}Content copied to clipboard