- Fixed in the query builder (still a big WIP)
This commit is contained in:
1 parent
efa957fe58
commit
bcbf65e0b3
3 files changed
+16
-10
No files matched your search
@@ -7,23 +7,23 @@ class Field implements \Ulmus\Annotation\Annotation {
|
||||
public string $type;
|
||||
|
||||
public string $name;
|
||||
|
||||
|
||||
# public string $column;
|
||||
|
||||
|
||||
public int $length;
|
||||
|
||||
public int $precision;
|
||||
|
||||
public array $attributes = [];
|
||||
|
||||
public bool $nullable = false;
|
||||
public bool $nullable;
|
||||
|
||||
public function __construct(? string $type = null, ? int $length = null)
|
||||
{
|
||||
if ( $type !== null ) {
|
||||
$this->type = $type;
|
||||
}
|
||||
|
||||
|
||||
if ( $length !== null ) {
|
||||
$this->length = $length;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user