mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-11 01:36:37 +08:00
fix(contracts): decouple DTOs from ORM tags and table name mappings
This commit is contained in:
@@ -71,11 +71,6 @@ type TaskExecutionDTO struct {
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
// TableName returns the default table name for TaskExecutionDTO.
|
||||
func (TaskExecutionDTO) TableName() string {
|
||||
return "w_task_executions"
|
||||
}
|
||||
|
||||
// Canonical triggered_by values persisted on task executions and shown in admin UI.
|
||||
const (
|
||||
TaskTriggerSystem = "system"
|
||||
|
||||
Reference in New Issue
Block a user