stash/scripts/test_db_generator
yoshnopa a2e477e1a7
Support image clips/gifs (#3583)
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2023-05-17 09:30:51 +10:00
..
README.md Test database generator (#1513) 2021-06-23 08:29:10 +10:00
config.yml Add Chapters for Galleries (#3289) 2023-03-16 15:04:54 +11:00
female.txt Test database generator (#1513) 2021-06-23 08:29:10 +10:00
makeTestDB.go Support image clips/gifs (#3583) 2023-05-17 09:30:51 +10:00
male.txt Test database generator (#1513) 2021-06-23 08:29:10 +10:00
naming.go [Files Refactor] Performance tuning (#2784) 2022-09-06 07:03:42 +00:00
scene.txt Test database generator (#1513) 2021-06-23 08:29:10 +10:00
studio.txt Test database generator (#1513) 2021-06-23 08:29:10 +10:00
surname.txt Test database generator (#1513) 2021-06-23 08:29:10 +10:00

README.md

This is a quick and dirty go script for generating a contrived database for testing purposes.

Edit the config.yml file to your liking. The numbers indicate the number of objects to generate, the naming section indicates the files from which to generate names.

May cause unexpected behaviour if run against an existing database file.

To run - from the test_db_generator: go run .

The database file will be generated in the current directory.