mein-sterntours/database/migrations/sym/0001_sym_travel_country_table.php
2021-10-08 17:07:28 +02:00

52 lines
1.6 KiB
PHP
Executable file

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
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 CreateTravelCountryTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
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);
$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();
$table->text('visum_text')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('travel_country');
}
}