1.1.1 • Published 2 years ago

smartagent-service-audit v1.1.1

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
2 years ago

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