Audit Log Service
Local Development
To setup db use
docker-compose up
Use the following commands to recreate db
docker rm -f $(docker ps -a -q)
docker volume rm $(docker volume ls -q)
Knex Migrations
To create a new knex migration use
npx knex migrate:make <migration-name> --env local
To run migration locally
npx knex migrate:up --env local
or
npx knex migrate:down --env local