Passolution, Mails, Tickets,

This commit is contained in:
Kevin Adametz 2020-09-15 17:47:52 +02:00
parent 0857a34766
commit f79806ffe8
46 changed files with 556 additions and 831 deletions

View file

@ -21,6 +21,8 @@ class CreateTravelCountryTable extends Migration
$table->string('name')->nullable();
$table->string('slug')->nullable();
$table->string('destco', 40)->nullable();
$table->string('mail_dir_name')->nullable();
$table->text('html_information')->nullable();

View file

@ -16,8 +16,8 @@ class CreateTravelNationalityTable extends Migration
Schema::connection('mysql_stern')->create('travel_nationality', function (Blueprint $table) {
$table->increments('id');
$table->string('name', 255)->nullable();
$table->char('nat', 2)->nullable();
$table->boolean('active')->default(true);
});
}

View file

@ -63,6 +63,7 @@ class CreateCustomerMailsTable extends Migration
$table->foreign('reply_id')
->references('id')
->on('customer_mails');
});
}

View file

@ -61,7 +61,9 @@ class CreateCustomerFewoMailsTable extends Migration
$table->foreign('reply_id')
->references('id')
->on('customer_fewo_mails');
->on('customer_fewo_mails')
->onDelete('cascade');
});
}

View file

@ -20,6 +20,7 @@ class CreateTravelCountryTable extends Migration
Schema::create('travel_country', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name', 255);
$table->string('destco', 40)->nullable();
$table->string('mail_dir_name', 255)->nullable();
$table->tinyInteger('is_customer_country')->nullable()->default(0);
$table->tinyInteger('active_backend')->nullable()->default(0);
@ -33,10 +34,6 @@ class CreateTravelCountryTable extends Migration
$table->text('contact_footer')->nullable();
$table->text('contact_emails')->nullable();
});