%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/hr/api/database/migrations/
Upload File :
Create Path :
Current File : /var/www/html/hr/api/database/migrations/2020_03_20_202351_create_clients_table.php

<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateClientsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('clients', function (Blueprint $table) {
            $table->id();
            $table->string('name');
            $table->string('address')
                  ->nullable();
            $table->string('vat_number')
                  ->nullable();
            $table->string('email')
                  ->nullable();
            $table->string('phone')
                  ->nullable();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('clients');
    }
}

Zerion Mini Shell 1.0