Implement schema upgrading

Change-Id: I3a82db2e8a2f446477806e93b236d5bd77957660
Signed-off-by: Shawn O. Pearce <sop@google.com>
16 files changed