photoprism/internal/entity/fixtures.go

20 lines
471 B
Go
Raw Normal View History

package entity
// CreateTestFixtures inserts all known entities into the database for testing.
2020-05-01 13:12:22 +02:00
func CreateTestFixtures() {
CreateLabelFixtures()
CreateCameraFixtures()
CreateCountryFixtures()
CreatePhotoFixtures()
CreateAlbumFixtures()
CreateAccountFixtures()
CreateLinkFixtures()
CreatePhotoAlbumFixtures()
CreateFileFixtures()
CreateKeywordFixtures()
CreatePhotoKeywordFixtures()
CreateCategoryFixtures()
2020-05-08 11:46:09 +02:00
CreateLocationFixtures()
CreatePlaceFixtures()
}