0

Can I regenerate a module without overwriting my custom changes?

I generated code, made custom changes to a controller, and now I want to regenerate because I added a new column. Will CI Wiz overwrite my edits?
Asked by Unknown Jan 22, 2026 132 views

1 Answer

0
✓ Accepted
This is the most important workflow question for anyone using CI Wiz in real projects. The short answer is: CI Wiz will overwrite files if you republish a module, so you need a strategy. The recommended approach with CI Wiz 3.5.x is to use the "Copy To..." feature. Instead of publishing directly to your live app folder, you generate to a clean output directory and then selectively copy individual files into your project using the built-in diff viewer. This lets you see exactly what changed and merge only what you want. For any file you have customized heavily, keep your changes in a separate method or section that a clean regeneration would not touch — for example, by extending the base controller method rather than editing it directly.
Answered by cantonner Jan 22, 2026

Please sign in to post an answer. sign in