first change
This commit is contained in:
0
Modules/Client/database/migrations/.gitkeep
Normal file
0
Modules/Client/database/migrations/.gitkeep
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('clients', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name')->nullable();
|
||||
$table->string('company_name')->nullable();
|
||||
$table->string('contact')->nullable();
|
||||
$table->string('logo')->nullable();
|
||||
|
||||
$table->string('manager_name')->nullable();
|
||||
$table->string('manager_contact')->nullable();
|
||||
|
||||
$table->string('poc_name')->nullable();
|
||||
$table->string('poc_contact')->nullable();
|
||||
|
||||
$table->string('promised_document')->nullable();
|
||||
$table->string('poc_document')->nullable();
|
||||
|
||||
$table->longtext('description')->nullable();
|
||||
$table->integer('status')->default(0);
|
||||
$table->unsignedBigInteger('order')->nullable();
|
||||
|
||||
$table->unsignedBigInteger('createdby')->nullable();
|
||||
$table->unsignedBigInteger('updatedby')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('clients');
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user