photoprism/internal/entity/fixtures.go

11 lines
200 B
Go
Raw Normal View History

package entity
import (
"github.com/jinzhu/gorm"
)
// CreateTestFixtures inserts all known entities into the database for testing.
func CreateTestFixtures(db *gorm.DB) {
CreateLabelFixtures(db)
}