11 lines
250 B
Go
11 lines
250 B
Go
package task
|
|
|
|
import "gorm.io/gorm"
|
|
|
|
// Provider is the minimal database seam required by the task tables.
|
|
// Task persistence must not depend on the full data runtime or system repos.
|
|
type Provider interface {
|
|
DB() *gorm.DB
|
|
DatabaseReady() bool
|
|
}
|