Fix heterogeneity of names in metadata tables
Fixes #1561 (closed):
-
revision_metadata
renamed torevision_intrinsic_metadata
, -
revision_metadata.translated_metadata
renamed torevision_metadata.metadata
, -
content_metadata.translated_metadata
renamed tocontent_metadata.metadata
, -
origin_intrinsic_metadata.origin_id
renamed toorigin_intrinsic_metadata.id
. - rename/update functions and affected tests
- add database migration script
Migrated from D1226 (view on Phabricator)