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!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
How to backup custom code?
-
- nuBuilder Team
- Posts: 4297
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 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.