Schema files are source code and should be committed. Only generated files in ent/ should be ignored.
20 lines
365 B
Go
20 lines
365 B
Go
// Package schema defines the Ent schema for audit log entities.
|
|
package schema
|
|
|
|
import "entgo.io/ent"
|
|
|
|
// AuditLog holds the schema definition for the AuditLog entity.
|
|
type AuditLog struct {
|
|
ent.Schema
|
|
}
|
|
|
|
// Fields of the AuditLog.
|
|
func (AuditLog) Fields() []ent.Field {
|
|
return nil
|
|
}
|
|
|
|
// Edges of the AuditLog.
|
|
func (AuditLog) Edges() []ent.Edge {
|
|
return nil
|
|
}
|