answers.text is nullable

This commit is contained in:
Gregorio Chiko Putra 2018-01-09 09:43:11 +07:00
parent 84e67925db
commit 17cba5192a

View File

@ -24,7 +24,8 @@ class CreateAnswersTable extends Migration
->unsigned()
->nullable();
$table->text('text');
$table->text('text')
->nullable();
$table->integer('questionchoice_id')
->unsigned()