Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The redirect-module adds a new field to the redirect-database. But when this module is enabled the field is not added to the 'redirect'-table, but to all copies of the table for each domain (domain_XX_redirect).
When you add a new domain, the original redirect-table is cloned to create a new domain-specific version. But this table does not contain the new field. Thus we run into exceptions: PDOException: SQLSTATE[42S22]: Column not found -- unknown column 'base.status' in 'field list'
.
Comment | File | Size | Author |
---|---|---|---|
#2 | dvg_domain_prefix_copy_table-3090105-2.patch | 800 bytes | JoshaHubbers |
Comments
Comment #2
JoshaHubbers CreditAttribution: JoshaHubbers at iO commentedThis patch creates the table based on the schema if it exists. otherwise it clones the table.
Comment #3
JoshaHubbers CreditAttribution: JoshaHubbers at iO commentedComment #4
TVoesenek CreditAttribution: TVoesenek at iO commentedTested, looks good.
Comment #6
paulvandenburg CreditAttribution: paulvandenburg commented