mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 11:14:06 +00:00
3.2 - Adding Tickets to Concerts
This commit is contained in:
@@ -15,7 +15,8 @@ class CreateTicketsTable extends Migration
|
||||
{
|
||||
Schema::create('tickets', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->unsignedInteger('order_id');
|
||||
$table->unsignedInteger('concert_id');
|
||||
$table->unsignedInteger('order_id')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user