Prepare for distribution must upgrade current schema too