CORE-5596 Added metadata database tables.