first commit

This commit is contained in:
Sampanna Rimal
2024-08-27 17:48:06 +05:45
commit 53c0140f58
10839 changed files with 1125847 additions and 0 deletions

View File

@ -0,0 +1,38 @@
<?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_job_posts', function (Blueprint $table) {
$table->unsignedTinyInteger('job_post_id')->autoIncrement();
$table->text('title')->nullable();
$table->text('alias')->nullable();
$table->unsignedInteger('vacancy_no')->nullable();
$table->unsignedBigInteger('department_id')->nullable();
$table->unsignedBigInteger('designation_id')->nullable();
$table->date('post_date')->nullable();
$table->date('expiry_date')->nullable();
$table->integer('status')->default(11);
$table->longText('description')->nullable();
$table->mediumText('remarks')->nullable();
$table->unsignedBigInteger('createdBy')->nullable();
$table->unsignedBigInteger('updateBy')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('tbl_job_posts');
}
};

View File

@ -0,0 +1,44 @@
<?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_job_applications', function (Blueprint $table) {
$table->unsignedTinyInteger('job_application_id')->autoIncrement();
$table->string('name')->nullable();
$table->string('address')->nullable();
$table->string('phone')->nullable();
$table->string('email')->nullable();
$table->string('gender')->nullable();
$table->unsignedBigInteger('job_post_id')->nullable();
$table->string('working_experience')->nullable();
$table->string('prev_company')->nullable();
$table->string('working_mode')->nullable();
$table->string('working_type')->nullable();
$table->string('working_shift')->nullable();
$table->date('apply_date')->nullable();
$table->string('recommended_by')->nullable();
$table->mediumText('description')->nullable();
$table->mediumText('remarks')->nullable();
$table->unsignedBigInteger('status')->nullable();
$table->unsignedBigInteger('createdBy')->nullable();
$table->unsignedBigInteger('updatedBy')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('tbl_job_applications');
}
};

View File

@ -0,0 +1,39 @@
<?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_interview_schedules', function (Blueprint $table) {
$table->unsignedTinyInteger('interview_schedule_id')->autoIncrement();
$table->unsignedBigInteger('job_post_id')->nullable();
$table->string('interviewer_choices')->nullable();
$table->string('interviewer_approved')->nullable();
$table->date('scheduled_date')->nullable();
$table->time('scheduled_time')->nullable();
$table->date('arranged_date')->nullable();
$table->string('interview_mode')->nullable();
$table->unsignedBigInteger('arranged_by')->nullable();
$table->unsignedBigInteger('createdBy')->nullable();
$table->unsignedBigInteger('updatedBy')->nullable();
$table->integer('status')->default(11);
$table->mediumText('description')->nullable();
$table->mediumText('remarks')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('tbl_interview_schedules');
}
};

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_offer_letters', function (Blueprint $table) {
$table->unsignedTinyInteger('offer_letter_id')->autoIncrement();
$table->string('applicant_name')->nullable();
$table->unsignedBigInteger('job_post_id')->nullable();
$table->unsignedBigInteger('job_application_id')->nullable();
$table->unsignedBigInteger('department_id')->nullable();
$table->unsignedBigInteger('designation_id')->nullable();
$table->unsignedBigInteger('work_shift_id')->nullable();
$table->unsignedBigInteger('contract_time_period')->nullable();
$table->decimal('salary')->nullable();
$table->date('joining_date')->nullable();
$table->date('issued_date')->nullable();
$table->unsignedBigInteger('issued_by')->nullable();
$table->unsignedBigInteger('createdBy')->nullable();
$table->unsignedBigInteger('updatedBy')->nullable();
$table->mediumText('description')->nullable();
$table->mediumText('remarks')->nullable();
$table->integer('status')->default(11);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('tbl_offer_letters');
}
};