Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 330 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 330 Bytes

Create a database Trigger in DHIS2

chmod +x ./bin/setup
./bin/setup
  • Start a test dhis2 instance
   cd dhis2_test_instance
   docker-compose up -d
  • Run data migration to create the trigger
rake db:migrate
  • To delete the trigger
rake db:rollback
  • Run tests
rspec