Hello,I was wondering what is the best practice of backing up custom code, attached to forms?
So far, the only method I found is exporting the database - not very git-able,and a bit clumsy. Is there any other way?
Regards
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
How to backup custom code?
-
- nuBuilder Team
- Posts: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 times
- Contact:
Re: How to backup custom code?
The best and easiest way to track all changes is set up triggers in the database that write to audit tables. Whenever a field (in our case a field that contains conde) gets updated,
it creates an entry in the history table so you can track all changes to the code over time.
Using the information in a history table, it is possible to retrieve a field's content at any point in time.
it creates an entry in the history table so you can track all changes to the code over time.
Using the information in a history table, it is possible to retrieve a field's content at any point in time.