mirror of https://github.com/stashapp/stash.git
569c3a872a
* Use cache during migration * Avoid use of query views * Use FindMany to find related objects * Log slow queries * Add folders to generated files * Use SlimScene for scene queries * Include filename in migration error message |
||
---|---|---|
.. | ||
README.md | ||
config.yml | ||
female.txt | ||
makeTestDB.go | ||
male.txt | ||
naming.go | ||
scene.txt | ||
studio.txt | ||
surname.txt |
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.