Enhance careers management features: update CareersPageController to fetch and display career listings with additional fields, modify Career model to include relationships and new attributes, and create a new view for the careers index with an application modal. Update database migration to reflect changes in the careers table structure and adjust routes for application submissions.
This commit is contained in:
@@ -14,9 +14,10 @@ return new class extends Migration
|
||||
Schema::create('careers', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('title');
|
||||
$table->text('description');
|
||||
$table->text('title_description')->nullable();
|
||||
$table->string('salary_per_month')->nullable();
|
||||
$table->json('bullets')->nullable();
|
||||
$table->string('location');
|
||||
$table->string('salary')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user