add a metadata table to the legal-profile db