663 B
663 B
populatedb
Quickly populate database with fake data for testing only.
Currently support:
- mysql:
- varchar
- bigint
- int
- timestamp
- json
Install
go install github.com/haunt98/populatedb-go/cmd/populatedb@latest
Run
Example:
populatedb g --dialect "mysql" --url "root:@tcp(localhost:4000)/production" --table "production_2022" --number 10000000
Contribute
Feel free to ask or implement feature yourself :)
Roadmap
- Support more database (postgres, sqlite, ...)
- Support more database type