Mail and Booking

This commit is contained in:
Kevin Adametz 2020-04-15 12:11:42 +02:00
parent 62e84637b6
commit 5daea268f7
250 changed files with 5377 additions and 1473 deletions

View file

@ -33,6 +33,7 @@ class CreateBookingTable extends Migration
$table->string('title', 255)->nullable();
$table->date('start_date')->nullable();
$table->date('end_date')->nullable();
$table->date('origin_start_date')->nullable();
$table->bigInteger('website_id')->nullable();
$table->string('travel_number', 80)->nullable();
$table->string('participant_name', 255)->nullable();
@ -54,8 +55,11 @@ class CreateBookingTable extends Migration
$table->bigInteger('travelagenda_id')->nullable();
$table->tinyInteger('paying_out')->nullable()->default(0);
$table->tinyInteger('paying_out_status')->nullable()->default(0);
$table->unsignedBigInteger('airline_id')->nullable();
$table->tinyInteger('refund')->nullable()->default(0);
$table->date('refund_date')->nullable();
$table->tinyInteger('hold')->nullable()->default(0);
$table->tinyInteger('xx_tkt')->nullable()->default(0);
$table->dateTime('updated_at');
$table->dateTime('created_at');
@ -88,6 +92,8 @@ class CreateBookingTable extends Migration
')->onUpdate('RESTRICT');
$table->foreign('travelagenda_id', 'booking_travelagenda_id_travel_agenda_id')->references('id')->on('travel_agenda')->onDelete('RESTRICT
')->onUpdate('RESTRICT');
$table->foreign('airline_id', 'booking_airline_id_airline_id')->references('id')->on('airline')->onDelete('RESTRICT
')->onUpdate('RESTRICT');
});
}