- WIP on Alter table for lean-console
This commit is contained in:
1 parent
9514a46ae7
commit
2ad52aba85
11 files changed
+63
-11
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user