adapted the tables

This commit is contained in:
tracer 2022-10-21 19:51:09 +02:00
parent 02c6154629
commit 0a334498df
1 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,6 @@
namespace App\Service;
use PDO;
use PDOException;
/**
*
@ -13,10 +12,10 @@ class DatabaseConnection
private PDO $dbConnection;
const TABLE_PREFIX = '';
const TABLE_DOMAINS = self::TABLE_PREFIX . "users";
const TABLE_NAMESERVERS = self::TABLE_PREFIX . "addresses";
const TABLE_USERS = self::TABLE_PREFIX . "users";
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');
$dbPort = $this->configController->getConfig(configKey: 'dbPort');