photoprism/internal/entity/fixtures.go

24 lines
570 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()
CreateFolderFixtures()
2020-05-01 13:12:22 +02:00
CreateFileFixtures()
CreateKeywordFixtures()
CreatePhotoKeywordFixtures()
CreateCategoryFixtures()
2020-05-08 11:46:09 +02:00
CreateLocationFixtures()
CreatePlaceFixtures()
2020-05-13 10:15:43 +02:00
CreateFileShareFixtures()
CreateFileSyncFixtures()
2020-05-13 19:46:49 +02:00
CreateLensFixtures()
}