- WIP on relations, constrains and foreign keys
This commit is contained in:
1 parent
01ab6e82d4
commit
d01624b8aa
8 files changed
+90
-30
No files matched your search
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Ulmus\Attribute\Property;
|
||||
|
||||
use Ulmus\Attribute\IndexTypeEnum;
|
||||
|
||||
#[\Attribute(\Attribute::TARGET_PROPERTY)]
|
||||
class Unique {
|
||||
|
||||
public function __construct(
|
||||
public IndexTypeEnum $type = IndexTypeEnum::Unique,
|
||||
) {}
|
||||
}
|
||||
Reference in new issue
Block a user