stash/scripts/test_db_generator
WithoutPants d0b0be4dd4
Fix test database generator (#3112) [skip ci]
2022-11-10 15:01:47 +11:00
..
README.md Test database generator (#1513) 2021-06-23 08:29:10 +10:00
config.yml Filter tag by hierarchy (#1746) 2021-10-01 11:50:06 +10:00
female.txt Test database generator (#1513) 2021-06-23 08:29:10 +10:00
makeTestDB.go Fix test database generator (#3112) [skip ci] 2022-11-10 15:01:47 +11: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.