birzha-legalizasia/database/migrations/2022_10_07_091356_create_co...

41 lines
1.1 KiB
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('contracts', function (Blueprint $table) {
$table->id();
// $table->unsignedBigInteger('entrance_number')->primary();
$table->text('hasaba_alysh')->nullable();
$table->string('hasaba_alysh_status')->nullable();
$table->text('baha_seljerish')->nullable();
$table->string('baha_seljerish_status')->nullable();
$table->text('tdh')->nullable();
$table->string('tdh_status')->nullable();
$table->text('hukuk')->nullable();
$table->string('hukuk_status')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('contracts');
}
};