<?php
declare(strict_types=1);

return static function (PDO $pdo): void {
    if (!installHasTable($pdo, 'settings')) {
        throw new RuntimeException('Tabelle settings fehlt.');
    }

    installRunSqlFile($pdo, installRootPath() . '/install/sql/seed_required_settings.sql');
};