stash/scripts/test_db_generator
DingDongSoLong4 9621213424
Genericise sliceutil functions (#4253)
* Genericise sliceutil.SliceSame
* Genericise intslice functions
* Genericise stringutil functions
2023-11-02 08:58:32 +11: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 Genericise sliceutil functions (#4253) 2023-11-02 08:58:32 +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.