메소드 |
설명 |
|
__construct ( string | null $schema = null ) |
Create new instance. |
|
createField ( string $column, array $attributes, $type = 'add' ) : string |
Create field. |
|
down ( ) : string |
Render down migration fields. |
|
getAttributes ( string $column, string $schema ) : array |
Get column attributes. |
|
getColumn ( string $schema ) : string |
Get column name from schema. |
|
getCustomAttribute ( string $column ) : array |
Get custom attributes value. |
|
getSchemas ( ) : array |
Get array of schema. |
|
hasCustomAttribute ( string $column ) : boolean |
Determine whether the given column is exist in customAttributes array. |
|
parse ( string $schema ) : array |
Parse a string to array of formatted schema. |
|
render ( ) : string |
Render the migration to formatted script. |
|
toArray ( ) : array |
Convert string migration to array. |
|
up ( ) : string |
Render up migration fields. |
|