- Some overdue modification made to allow more flexibility

This commit is contained in:
mcndave committed 2023-10-27 17:53:55 +00:00
1 parent cc741566fb
commit 1927b43999
14 files changed
+88 -51

No files matched your search

+9 -8
View File
@@ -3,6 +3,7 @@
namespace Ulmus\Adapter;
use Ulmus\Entity\InformationSchema\Table;
use Ulmus\Migration\MigrateInterface;
use Ulmus\QueryBuilder;
use Ulmus\Repository;
use Ulmus\Common\PdoObject;
@@ -11,8 +12,8 @@ use Ulmus\Exception\AdapterConfigurationException;
use Ulmus\Ulmus;
use Ulmus\Migration\FieldDefinition;
class MySQL implements AdapterInterface {
use DefaultAdapterTrait;
class MySQL implements AdapterInterface, MigrateInterface, SqlAdapterInterface {
use SqlAdapterTrait;
const ALLOWED_ATTRIBUTES = [
'default', 'primary_key', 'auto_increment', 'update',
@@ -21,13 +22,13 @@ class MySQL implements AdapterInterface {
const DSN_PREFIX = "mysql";
public string $hostname;
public string $database;
public string $username;
public string $password;
protected string $username;
protected string $password;
public string $charset = "utf8mb4";
public ? string $socket;