- WIP on Alter table for lean-console

This commit is contained in:
mcndave committed 2023-03-30 15:24:48 +00:00
1 parent 9514a46ae7
commit 2ad52aba85
11 files changed
+63 -11

No files matched your search

+7
View File
@@ -62,6 +62,13 @@ class EntityField implements WhereRawParameter
]);
}
public static function generateAlterColumn(AdapterInterface $adapter, array $field) : string
{
$definition = new FieldDefinition($adapter, $field['definition']);
return $adapter->generateAlterColumn($definition, $field);
}
public static function isObjectType($type) : bool
{
# @Should be fixed with isBuiltIn() instead, it won't be correct based only on name