Cloned DBs not reflecting changes

Hi All,

I am writing unit test functions for different scopes in Servoy . We are creating test data . There are databases . As we do not want to affect real databases we are cloning databases and we are executing test functions . Actually the other developer has brought the database changes . I have synced the dbi changes . Still these are not getting reflected in the cloned databases .When I am manually creating databases changes in the cloned databases. When I am restarting servoy developer the current changes are reverted back. Now older test functions are breaking .

Please share your suggestions,

Thanks,

Ashutos Lenka

Hi Ashutos,

  • Make a backup of your real/production database.
  • Restore this backup locally and connect this to Developer.
  • Write test functions and make database/.dbi changes, once you are happy with these, commit them in git and push to remote repository to share with other developer.
  • Once you are happy with the changes you can safely push these to your test environment, then production.

The other developer should do the same.

Thanks,

Alex.

1 Like