feat: Add FAQs field to Country model and update form for extra FAQs input

This commit is contained in:
2025-08-21 12:28:07 +05:45
parent 9b45e88f27
commit d15949d9c2
4 changed files with 38 additions and 109 deletions

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('countries', function (Blueprint $table) {
$table->longText('faqs')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('countries', function (Blueprint $table) {
$table->dropColumn('faqs');
});
}
};