- WIP on SQLite Adapter and migration
This commit is contained in:
1 parent
cee978ecfd
commit
9514a46ae7
14 files changed
+98
-40
No files matched your search
@@ -23,7 +23,7 @@ class FieldDefinition {
|
||||
|
||||
public ? int $precision;
|
||||
|
||||
public ? int $length;
|
||||
public null|int|string $length;
|
||||
|
||||
public ? string $update;
|
||||
|
||||
@@ -38,6 +38,8 @@ class FieldDefinition {
|
||||
$this->tags = $data['tags'];
|
||||
|
||||
$field = $this->getFieldTag();
|
||||
$adapter->whitelistAttributes($field->attributes);
|
||||
|
||||
$this->type = $field->type ?? $data['type'];
|
||||
$this->length = $field->length ?? null;
|
||||
$this->precision = $field->precision ?? null;
|
||||
|
||||
Reference in new issue
Block a user