init metadatatable, when schema has existed.