chore(doc): add tern's wrapper documentation

This commit is contained in:
Vinicius Souza 2024-08-09 11:15:28 +00:00
parent 5b7b08f733
commit e1a4c1234f

View file

@ -22,3 +22,8 @@ $ go install github.com/jackc/tern/v2@latest
$ tern new --migrations ./internal/store/pgstore/migrations create_rooms_table $ tern new --migrations ./internal/store/pgstore/migrations create_rooms_table
$ tern new --migrations ./internal/store/pgstore/migrations create_messages_table $ tern new --migrations ./internal/store/pgstore/migrations create_messages_table
``` ```
### Wrapper around tern
`tern.config` does not read `.env` file directly so a wrapper was created to be
able to load environment variables.