lib: Use database features to drive upgrade
authorAustin Clements <amdragon@mit.edu>
Mon, 25 Aug 2014 17:26:04 +0000 (13:26 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 30 Aug 2014 18:21:48 +0000 (11:21 -0700)
commit48db8c8b602176d86b6c1e2bd1f18648bebd0b68
treeafe0a902cd5281a17b3da8f7354d111d7449f5ef
parent4a38588488ac10a8385760089912747783b767db
lib: Use database features to drive upgrade

Previously, we had database version information hard-coded in the
upgrade code.  Slightly re-organize the upgrade process around the set
of new database features to be enabled by the upgrade.
lib/database.cc