bugfix, changed sql-patch naming scheme

This commit is contained in:
2024-06-07 12:10:36 +02:00
parent a9487d8620
commit 7c6e9b3643
7 changed files with 5 additions and 19 deletions

View File

@@ -475,7 +475,6 @@ class MySQL extends SQL {
return $query;
}
// FIXME: access mysql database instead of configured one
public function tableExists(string $tableName): bool {
$tableSchema = $this->connectionData->getProperty("database");
$res = $this->select(new Count())

View File

@@ -14,7 +14,7 @@ abstract class View extends StaticView {
public function __construct(Document $document, bool $loadView = true) {
$this->document = $document;
$this->title = "Untitled View";
$this->langModules = array();
$this->langModules = [];
$this->loadView = $loadView;
}

View File

@@ -1,16 +0,0 @@
<?php
namespace Core\Objects\DatabaseEntity\Attribute;
#[\Attribute(\Attribute::TARGET_PROPERTY)] class Many {
private string $type;
public function __construct(string $type) {
$this->type = $type;
}
public function getValue(): string {
return $this->type;
}
}