cancel
Showing results for 
Search instead for 
Did you mean: 

update custom DocType

Ghazi_HAKIM
Confirmed Champ
Confirmed Champ

Hello,

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 ?

Regards.

1 ACCEPTED ANSWER

ioihanguren_
Star Contributor
Star Contributor

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.

View answer in original post

1 REPLY 1

ioihanguren_
Star Contributor
Star Contributor

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.