- WIP on migration and some bug fixes linked to withJoin() select problems

This commit is contained in:
Dave Mc Nicoll committed 2025-05-15 18:05:23 +00:00
1 parent 761e0401b0
commit cc6048d4ee
20 files changed
+196 -93

No files matched your search

+21
View File
@@ -2,8 +2,28 @@
namespace Ulmus\Entity\Mysql;
use Ulmus\Attribute\Property\Field;
class Column extends \Ulmus\Entity\InformationSchema\Column
{
#[Field\Id]
public ? id $srs_id;
#[Field(name: "COLUMN_KEY", length: 3)]
public string $key;
#[Field(name: "EXTRA", length: 30)]
public string $extra;
#[Field(name: "PRIVILEGES", length: 80)]
public string $privileges;
#[Field(name: "COLUMN_COMMENT", length: 1024)]
public string $comment;
#[Field(name: "GENERATION_EXPRESSION", type: "longtext")]
public ? string $generationExpression;
# TODO ! Handle FUNCTIONAL default value
protected function canHaveDefaultValue(): bool
{
@@ -12,4 +32,5 @@ class Column extends \Ulmus\Entity\InformationSchema\Column
]);
}
}