Files
vito/app/Services/Database/Postgresql.php
Saeed Vaziry 131b828807 Plugins base (#613)
* wip

* wip

* cleanup

* notification channels

* phpstan

* services

* remove server types

* refactoring

* refactoring
2025-06-14 14:35:18 +02:00

37 lines
656 B
PHP

<?php
namespace App\Services\Database;
class Postgresql extends AbstractDatabase
{
protected array $systemDbs = ['template0', 'template1', 'postgres'];
/**
* @var string[]
*/
protected array $systemUsers = ['postgres'];
protected string $defaultCharset = 'UTF8';
protected int $headerLines = 2;
protected string $separator = '|';
protected bool $removeLastRow = true;
public static function id(): string
{
return 'postgresql';
}
public static function type(): string
{
return 'database';
}
public function unit(): string
{
return 'postgresql';
}
}