mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 03:04:05 +00:00
106 - Converting Empty Strings to Null
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user