1
0
Fork 0
mirror of synced 2024-07-18 04:45:48 +12:00

fix: add defaults to collection attributes.

This commit is contained in:
ItzNotABug 2024-06-14 15:37:30 +05:30
parent f91a8a9135
commit 4fd94fd7b1

View file

@ -239,7 +239,7 @@ abstract class Migration
}
/**
* Creates colletion from the config collection.
* Creates collection from the config collection.
*
* @param string $id
* @param string|null $name
@ -266,6 +266,7 @@ abstract class Migration
'type' => $attribute['type'],
'size' => $attribute['size'],
'required' => $attribute['required'],
'default' => $attribute['default'] ?? null,
'signed' => $attribute['signed'],
'array' => $attribute['array'],
'filters' => $attribute['filters'],