first commit
This commit is contained in:
0
Modules/Recruit/database/migrations/.gitkeep
Normal file
0
Modules/Recruit/database/migrations/.gitkeep
Normal 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');
|
||||
}
|
||||
};
|
@ -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');
|
||||
}
|
||||
};
|
@ -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');
|
||||
}
|
||||
};
|
@ -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');
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user