schema with beans instead of arrays

This commit is contained in:
Jan-Niclas Loosen
2025-02-21 19:06:16 +01:00
parent 13fa680b87
commit 024e6e73cb
13 changed files with 123 additions and 140 deletions

15
beans/Column.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
namespace DatabaseHelper\beans;
use DatabaseHelper\enums\Type;
class Column
{
public string $name;
public ?string $default = null;
public Type $type;
public bool $isNullable = false;
public bool $isUnique = false;
}