Automate XL-Vask invoice-period resolution (#340)
Deploy the revision-aware XL-Vask import and guarded autopilot infrastructure. Automatic actions remain fail-closed pending production readiness, calibration, dry-run, and canary gates.
This commit is contained in:
@@ -201,10 +201,18 @@ class plate_scanners_o extends db
|
||||
if (!self::tableHasColumn('plate_scanners', 'lane_id')) {
|
||||
$db->query("ALTER TABLE `plate_scanners` ADD COLUMN `lane_id` INT NULL AFTER `department_id`");
|
||||
}
|
||||
|
||||
self::$schemaInitialized = true;
|
||||
}
|
||||
|
||||
/** Explicit mutation-path compatibility bootstrap for XL Vask hall scoping. */
|
||||
public static function ensureHallIdSchemaForMutation(): void
|
||||
{
|
||||
global $db;
|
||||
if (!self::tableHasColumn('plate_scanners', 'HallId')) {
|
||||
$db->query("ALTER TABLE `plate_scanners` ADD COLUMN `HallId` VARCHAR(191) NULL AFTER `lane_id`");
|
||||
}
|
||||
}
|
||||
|
||||
private static function tableHasColumn(string $table, string $column): bool
|
||||
{
|
||||
global $db;
|
||||
|
||||
Reference in New Issue
Block a user