0

I modified the database after generating code. Do I have to start over?

I added a column to a table after already generating and customizing the module. What is the correct workflow to pick up the new column without losing my changes?
Posee par Inconnu Feb 11, 2026 137 vues

1 reponse

0
✓ Acceptee
You do not start over. The workflow is: 1. Re-open the affected module in CI Wiz. If a column was modified or deleted in the DB, CI Wiz detects this automatically and updates the field list. If a column was added, you will see a warning at the bottom of the window prompting you to include it. 2. Check the new column under "Include in Grid" and/or "Include in Forms" as appropriate. 3. Click "Generate Code", then publish only the affected module (not the entire app, unless everything changed). For the copy-back step in 3.5.x: use "Copy To..." with the diff viewer to selectively merge the regenerated files into your live project. This lets you pull in the new field's form input and list column without touching lines you customized. The whole process typically takes under two minutes.
Repondu par cantonner Feb 11, 2026

Veuillez vous connecter pour publier une reponse. vous connecter