我用unsigned user_id
创建了一个迁移。我如何编辑user_id
在一个新的迁移也使它nullable()
?
Schema::create('throttle', function(Blueprint $table)
{
$table->increments('id');
// this needs to also be nullable, how should the next migration be?
$table->integer('user_id')->unsigned();
}