Fewo Mails / Booking Country Services

This commit is contained in:
Kevin Adametz 2020-05-28 19:03:42 +02:00
parent b9c26d06d0
commit 48a6eb2282
154 changed files with 7761 additions and 1643 deletions

View file

@ -8,7 +8,7 @@ use Illuminate\Database\Migrations\Migration;
* Migration auto-generated by Sequel Pro Laravel Export (1.4.1)
* @see https://github.com/cviebrock/sequel-pro-laravel-export
*/
class CreateSalutationTable extends Migration
class CreateTravelCountryTable extends Migration
{
/**
* Run the migrations.
@ -17,13 +17,30 @@ class CreateSalutationTable extends Migration
*/
public function up()
{
Schema::create('salutation', function (Blueprint $table) {
Schema::create('travel_country', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name', 255);
$table->string('mail_dir_name', 255)->nullable();
$table->tinyInteger('is_customer_country')->nullable()->default(0);
$table->tinyInteger('active_backend')->nullable()->default(0);
$table->string('contact_lands', 255)->nullable();
$table->string('mail_dirs', 255)->nullable();
$table->string('contact_headline', 255)->nullable();
$table->text('contact_text_1')->nullable();
$table->text('contact_text_2')->nullable();
$table->text('contact_text_3')->nullable();
$table->text('contact_text_4')->nullable();
$table->text('contact_footer')->nullable();
$table->text('contact_emails')->nullable();
});
}
/**
@ -33,6 +50,6 @@ class CreateSalutationTable extends Migration
*/
public function down()
{
Schema::dropIfExists('salutation');
Schema::dropIfExists('travel_country');
}
}