update custom DocType


I made a mistake in my document type definition. I removed the old field and created a new one, then I built my jar and place it in nxserver/plugins. I restarted Nuxeo and It works fine, but when I check the database table, I see both columns : the one I removed and the new one !

Is that normal ?


0 votes

1 answers



As far as I know, new columns are created automatically on startup, but unused columns are not removed. You will see a warning in the logs on startup about the unused columns, so you will have to remove them by hand if you want to keep the database clean.

1 votes