# linux
curl -L /~https://github.com/danangkonang/goql/releases/download/0.2.0/goql_linux -o goql
chmod +x goql
# testing
goql --version
# macOs
curl -L /~https://github.com/danangkonang/goql/releases/download/0.2.0/goql_macOs -o goql
chmod +x goql
# testing
goql --version
# windows
curl -L /~https://github.com/danangkonang/goql/releases/download/0.2.0/goql_windows -o goql.exe
# chmod +x goql.exe
# testing
goql.exe --version
goql --help
# generate sql file
goql create migration --table users
# execute sql all file
goql up migration --db postgres://user:password@localhost:5432/database?sslmode=disable
# execute with specific table
goql up migration --table "users products"
goql use /~https://github.com/brianvoe/gofakeit for generate data
# create seeder
goql create seeder --table users --field "id:uuid,name:name,created_at:unixtime" --count 100