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

14
beans/Reference.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
namespace DatabaseHelper\beans;
use DatabaseHelper\enums\Propagation;
use DatabaseHelper\enums\Type;
class Reference
{
public string $name;
public ?Schema $otherTable;
public Propagation $onDelete;
public Propagation $onUpdate;
}