106 - Converting Empty Strings to Null

This commit is contained in:
Adam Wathan
2017-05-19 14:30:50 -04:00
parent a3aaa98ce0
commit cdc9b81a56
4 changed files with 62 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ class CreateConcertsTable extends Migration
Schema::create('concerts', function (Blueprint $table) {
$table->increments('id');
$table->string('title');
$table->string('subtitle');
$table->string('subtitle')->nullable();
$table->datetime('date');
$table->integer('ticket_price');
$table->string('venue');