mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
Merge pull request #5728 from LibreSign/chore/add-engine-to-crl-table
chore: add engine to CRL table
This commit is contained in:
commit
e77ceb5b64
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue