migration issues

This commit is contained in:
2024-04-04 17:53:23 +05:45
parent df0cbdf8a0
commit dfdc927a56
11 changed files with 213 additions and 219 deletions

View File

@ -12,8 +12,10 @@ return new class extends Migration
public function up(): void
{
Schema::create('leaves', function (Blueprint $table) {
$table->id();
$table->tinyInteger('leave_id')->unsigned()->autoIncrement();
$table->integer('employee_id');
$table->date('start_date');
$table->date('end_date');
$table->timestamps();
});
}