change log api to reflect data split into base and extension
This commit is contained in:
@@ -3,7 +3,7 @@ package seeding
|
||||
import (
|
||||
"wagfarm-api/assets/seed"
|
||||
"wagfarm-api/database"
|
||||
"wagfarm-api/logs/base"
|
||||
"wagfarm-api/logs/generic"
|
||||
"wagfarm-api/taxonomy/seedingcondition"
|
||||
"wagfarm-api/taxonomy/seedingtechnique"
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
type SeedingLog struct {
|
||||
base.FieldWorkLog
|
||||
generic.FieldWorkLog
|
||||
SeedID uint `gorm:"not null"`
|
||||
Seed seed.Seed `gorm:"constraint:OnUpdate:CASCADE,OnDelete:CASCADE;not null"`
|
||||
TechniqueID uint `gorm:"not null"`
|
||||
|
||||
Reference in New Issue
Block a user