I missed this.
DB schema updates.
Added a condition to be sure.
Both development and production mode now work.