bug fixes, leave managment refactoring, report points

This commit is contained in:
Kwesi Banson
2026-11-03 12:05:59 +00:00
parent 965892ac62
commit b393dcdf0e
14 changed files with 144 additions and 117 deletions

View File

@@ -0,0 +1,22 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up()
{
Schema::table('staff_members', function (Blueprint $table) {
$table->integer('report_points')->default(0)->after('status');
});
}
public function down()
{
Schema::table('staff_members', function (Blueprint $table) {
$table->dropColumn('report_points');
});
}
};