photoprism/internal/entity/fixtures.go
Michael Mayer 8ccaaff4e5 Backend: Update label photo count and refactor entity fixtures
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-10 19:43:49 +02:00

19 lines
471 B
Go

package entity
// CreateTestFixtures inserts all known entities into the database for testing.
func CreateTestFixtures() {
CreateLabelFixtures()
CreateCameraFixtures()
CreateCountryFixtures()
CreatePhotoFixtures()
CreateAlbumFixtures()
CreateAccountFixtures()
CreateLinkFixtures()
CreatePhotoAlbumFixtures()
CreateFileFixtures()
CreateKeywordFixtures()
CreatePhotoKeywordFixtures()
CreateCategoryFixtures()
CreateLocationFixtures()
CreatePlaceFixtures()
}