2022-10-07 09:47:36 +00:00
|
|
|
<?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();
|
2022-10-07 10:18:05 +00:00
|
|
|
// $table->unsignedBigInteger('entrance_number')->primary();
|
2022-10-07 09:47:36 +00:00
|
|
|
$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');
|
|
|
|
|
}
|
|
|
|
|
};
|