schema with beans instead of arrays
This commit is contained in:
14
beans/Reference.php
Normal file
14
beans/Reference.php
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user