migration issues
This commit is contained in:
@ -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();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user