08 2024
This commit is contained in:
parent
c1c613a4b9
commit
881fc84207
384 changed files with 50679 additions and 990 deletions
|
|
@ -46,6 +46,7 @@ class CreateTravelUserBookingFewosTable extends Migration
|
|||
$table->text('notice')->nullable();
|
||||
|
||||
|
||||
$table->boolean('is_calendar_traum_fewo')->default(false); // Fewo-Direkt, HRS und STERN TOUR
|
||||
$table->boolean('is_calendar_fewo_direct')->default(false); // Fewo-Direkt, HRS und STERN TOUR
|
||||
$table->boolean('is_calendar_hrs')->default(false);
|
||||
$table->boolean('is_calendar_stern_tours')->default(false);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,70 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateBookingDocumentsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('booking_documents', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
|
||||
$table->bigInteger('booking_id')->nullable();
|
||||
$table->bigInteger('customer_id')->nullable();
|
||||
$table->bigInteger('lead_id')->nullable();
|
||||
$table->bigInteger('coupon_id')->nullable();
|
||||
$table->bigInteger('booking_storno_id')->nullable();
|
||||
|
||||
$table->string('identifier')->index();
|
||||
$table->string('filename');
|
||||
$table->string('dir');
|
||||
$table->string('original_name');
|
||||
$table->string('ext');
|
||||
$table->string('mine');
|
||||
$table->unsignedInteger('size');
|
||||
$table->date('date');
|
||||
$table->text('data')->nullable();
|
||||
|
||||
$table->unsignedTinyInteger('status')->nullable()->default(0);
|
||||
|
||||
$table->timestamps();
|
||||
|
||||
$table->foreign('booking_id')
|
||||
->references('id')
|
||||
->on('booking');
|
||||
|
||||
$table->foreign('customer_id')
|
||||
->references('id')
|
||||
->on('customer');
|
||||
|
||||
$table->foreign('lead_id')
|
||||
->references('id')
|
||||
->on('lead');
|
||||
|
||||
$table->foreign('coupon_id')
|
||||
->references('id')
|
||||
->on('coupon');
|
||||
|
||||
$table->foreign('booking_storno_id')
|
||||
->references('id')
|
||||
->on('booking_storno');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('booking_documents');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateAirportTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('airports', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->string('code', 10);
|
||||
$table->string('name', 255);
|
||||
$table->string('city', 255)->nullable();
|
||||
$table->string('country', 255)->nullable();
|
||||
$table->boolean('active')->default(true);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('airports');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue