adapted the tables
This commit is contained in:
parent
02c6154629
commit
0a334498df
|
@ -3,7 +3,6 @@
|
||||||
namespace App\Service;
|
namespace App\Service;
|
||||||
|
|
||||||
use PDO;
|
use PDO;
|
||||||
use PDOException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -13,10 +12,10 @@ class DatabaseConnection
|
||||||
private PDO $dbConnection;
|
private PDO $dbConnection;
|
||||||
|
|
||||||
const TABLE_PREFIX = '';
|
const TABLE_PREFIX = '';
|
||||||
const TABLE_DOMAINS = self::TABLE_PREFIX . "users";
|
const TABLE_USERS = self::TABLE_PREFIX . "users";
|
||||||
const TABLE_NAMESERVERS = self::TABLE_PREFIX . "addresses";
|
const TABLE_ADDRESSES = self::TABLE_PREFIX . "addresses";
|
||||||
|
|
||||||
public function __construct(private readonly ConfigController $configController)
|
public function __construct(private readonly Config $configController)
|
||||||
{
|
{
|
||||||
$dbHost = $this->configController->getConfig(configKey: 'dbHost');
|
$dbHost = $this->configController->getConfig(configKey: 'dbHost');
|
||||||
$dbPort = $this->configController->getConfig(configKey: 'dbPort');
|
$dbPort = $this->configController->getConfig(configKey: 'dbPort');
|
||||||
|
|
Loading…
Reference in New Issue