feat: publish standalone worker
Separate worker packaging and service lifecycle from the control plane.
Этот коммит содержится в:
12
app/models/concerns/soft_delete.go
Обычный файл
12
app/models/concerns/soft_delete.go
Обычный файл
@@ -0,0 +1,12 @@
|
||||
package concerns
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// SoftDelete provides functionality.
|
||||
type SoftDelete struct {
|
||||
DeletedAt *time.Time `gorm:"index" json:"-"`
|
||||
DeleterID *int64 `gorm:"type:bigint REFERENCES users(id)" json:"-"`
|
||||
// Deleter *User `json:"-"`
|
||||
}
|
||||
Ссылка в новой задаче
Block a user