We can create a table with a field set as nullable.
Later, we cannot change this to "Not nullable" even if there is no Null data.
Badaso version : 2.9.11
Exemple of migration generated for the change :
$table->text('color')->charset('')->collation('')->change();
should be :
$table->text('color')->nullable(false)->charset('')->collation('')->change();
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We can create a table with a field set as nullable.
Later, we cannot change this to "Not nullable" even if there is no Null data.
Badaso version : 2.9.11
Exemple of migration generated for the change :
$table->text('color')->charset('')->collation('')->change();
should be :$table->text('color')->nullable(false)->charset('')->collation('')->change();