我用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();
}
Run Code Online (Sandbox Code Playgroud)