如何用 migrate 修改字段的 defalut 值
topics
里的 examine
值原来是 nullable
,现在修改成 default(0)
怎么改呢?
如下并不行:
$table->tinyInteger('examine')->default(0)->change();
推荐文章: