Merge pull request #108 from Icinga/schema-path

Fix schema path
This commit is contained in:
Alexander Aleksandrovič Klimov 2023-01-30 10:37:24 +01:00 committed by GitHub
commit a5db4d9f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ class DbCommand extends Command
$db->import(
Config::module('setup')
->get('schema', 'path', Icinga::app()->getBaseDir('etc/schema')) . "/{$db->dbType}.schema.sql"
->get('schema', 'path', Icinga::app()->getBaseDir('schema')) . "/{$db->dbType}.schema.sql"
);
}