- WIP on relations, constrains and foreign keys

This commit is contained in:
mcndave committed 2023-07-14 19:57:29 -04:00
1 parent 01ab6e82d4
commit d01624b8aa
8 files changed
+90 -30

No files matched your search

+13
View File
@@ -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,
) {}
}