firstcommit

This commit is contained in:
2024-05-16 09:31:08 +05:45
commit 34d9672cb8
1396 changed files with 86482 additions and 0 deletions

View File

@ -0,0 +1,43 @@
<?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('tbl_customers', function (Blueprint $table) {
$table->id();
$table->string('first_name')->nullable();
$table->string('last_name')->nullable();
$table->string('contact')->nullable();
$table->string('phone')->nullable();
$table->string('email')->nullable();
$table->text('address')->nullable();
$table->string('company_name')->nullable();
$table->string('company_pan')->nullable();
$table->text('company_address')->nullable();
$table->string('company_contact')->nullable();
$table->string('company_phone')->nullable();
$table->string('profile_pic')->nullable();
$table->unsignedBigInteger('createdBy')->nullable();
$table->unsignedBigInteger('updatedBy')->nullable();
$table->integer('status')->nullable()->default(11);
$table->text('remarks')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('tbl_customers');
}
};

View File

@ -0,0 +1,16 @@
<?php
namespace Modules\Customer\database\seeders;
use Illuminate\Database\Seeder;
class CustomerDatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
// $this->call([]);
}
}