CasperSecurity
<?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('payroll_items', function (Blueprint $table) {
$table->id();
$table->string('payroll_item_type');
$table->string('employee_or_employer')->nullable();
$table->string('payroll_item');
$table->string('payroll_item_short_name')->nullable();
$table->tinyInteger('status')->default(1);
$table->timestamps();
$table->SoftDeletes();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('payroll_items');
}
};