Run
$ docker-compose up -d
$ docker exec -it omni_seeker /bin/bash
Create database running the following command
$ docker exec -ti omni_seeker sh -c 'createdb -U postgres --lc-collate=C --lc-ctype=C -E LATIN1 -T template0 predicao_for_db'
$ chown -R 1000:1000 ./migrations
Examples:
$ yoyo new ./migrations -m "create table table_name"
$ yoyo new ./migrations -m "add column column_name"