adapted the tables
This commit is contained in:
parent
02c6154629
commit
0a334498df
@ -3,7 +3,6 @@
|
||||
namespace App\Service;
|
||||
|
||||
use PDO;
|
||||
use PDOException;
|
||||
|
||||
/**
|
||||
*
|
||||
@ -12,11 +11,11 @@ class DatabaseConnection
|
||||
{
|
||||
private PDO $dbConnection;
|
||||
|
||||
const TABLE_PREFIX = '';
|
||||
const TABLE_DOMAINS = self::TABLE_PREFIX . "users";
|
||||
const TABLE_NAMESERVERS = self::TABLE_PREFIX . "addresses";
|
||||
const TABLE_PREFIX = '';
|
||||
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');
|
||||
|
Loading…
Reference in New Issue
Block a user