make metadata storage pluggable

partitioned should be BOOLEAN
start, end, and version should be VARCHAR(255) to be consistent with other tables.