76 - Fixing the Testsuite

This commit is contained in:
Adam Wathan
2017-03-13 12:20:31 -04:00
parent 5ad11ae268
commit 65c1f9a152
3 changed files with 8 additions and 3 deletions

View File

@@ -15,10 +15,10 @@ class CreateOrdersTable extends Migration
{
Schema::create('orders', function (Blueprint $table) {
$table->increments('id');
$table->string('confirmation_number');
$table->string('confirmation_number')->nullable();
$table->integer('amount');
$table->string('email');
$table->string('card_last_four');
$table->string('card_last_four')->nullable();
$table->timestamps();
});
}

View File

@@ -18,7 +18,7 @@ class CreateTicketsTable extends Migration
$table->unsignedInteger('concert_id');
$table->unsignedInteger('order_id')->nullable();
$table->datetime('reserved_at')->nullable();
$table->string('code');
$table->string('code')->nullable();
$table->timestamps();
});
}