# Baltique OS Core 2.7.0.1
## Upgrade 2.7.0 schema compatibility repair

This release fixes:

```text
SQLSTATE[42S22]: Unknown column 'run_key' in 'field list'
```

The failure occurred because `enterprise_site_consolidation_runs` had already been created by version 2.6.2.1 with a different schema. `CREATE TABLE IF NOT EXISTS` in 2.7.0 did not evolve the existing table.

The repair:

- adds and backfills `run_key`;
- adds the remaining 2.7.0 run columns;
- upgrades the legacy site-alias table;
- repairs a partially-created module-unification run table;
- preserves all historical rows and columns;
- fixes the migration-ledger call in the base 2.7.0 release;
- makes both `/upgrade_2_7_0.php` and `/upgrade_2_7_0_1.php` use the repaired installer.

Deploy to staging first and ensure the MySQL account has `ALTER` permission.
