- WIP on SQLite Adapter and migration

This commit is contained in:
mcndave committed 2023-03-27 18:38:31 +00:00
1 parent cee978ecfd
commit 9514a46ae7
14 files changed
+98 -40

No files matched your search

+3 -1
View File
@@ -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;