docs: def downgrade():
      """Downgrade database."""
      if op._proxy.migration_context.dialect.name == 'postgresql':
          op.alter_column(
              'records_metadata',
              'json',
              type_=sa.dialects.postgresql.JSON,
              postgresql_using='json::text::json'
          )