badaso icon indicating copy to clipboard operation
badaso copied to clipboard

Database management - Impossible to reset to "Not nullable"

Open Dri372 opened this issue 9 months ago • 0 comments

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();

Dri372 avatar May 13 '24 21:05 Dri372