Add the following code to your project's shard.yml under:
to use in production
- OR -
development_dependencies to use in development
A very basic setupless terminal based SQL query runner meant to be used as a developer tool to test queries against a project database.
There's an AUR package for it.
$ yay -S queryit
Install the dependencies (dev packages if your distro split development files in separated packages):
$ make $ sudo make install
On a rails or amber project directory just run it, a connection will be made to the development database:
Or specify the database URI:
$ queryit --uri postgres://localhost/database
Despite of only be really tested with Postgres and SQLite, it should work with MySQL too.
git checkout -b my-new-feature)
git commit -am 'Add some feature')
git push origin my-new-feature)
Feature suggestions are welcome, write them in github issues.