Merge pull request #5728 from LibreSign/chore/add-engine-to-crl-table

chore: add engine to CRL table
This commit is contained in:
Vitor Mattos 2025-11-03 12:35:02 -03:00 committed by GitHub
commit e77ceb5b64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,13 @@ class Version13000Date20251031165700 extends SimpleMigrationStep {
$engine->setConfigPath($engine->getConfigPath());
}
}
if ($schema->hasTable('libresign_crl')) {
$crlTable = $schema->getTable('libresign_crl');
if (!$crlTable->hasColumn('engine')) {
$crlTable->addColumn('engine', 'string', ['default' => $engineName]);
}
}
return $schema;
}
}