Requirements: * Stack * Docker * Docker Compose
-
Run Container:
docker-compose up -d
-
Build:
stack build
-
Run:
stack exec haskell-postgres-exe
-
Run psql:
docker exec -it ${CONTAINER_ID} psql -U haskell -d haskell_db
-
Verify Migrations:
select * from schema_migrations