File: /home/jubaroyal/public_html/database/migrations/2023_04_02_205235_create_pages_table.php
<?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::create('pages', function (Blueprint $table) {
$table->id();
$table->text('about_heading')->nullable();
$table->text('about_title')->nullable();
$table->text('about_subtitle')->nullable();
$table->text('about_description')->nullable();
$table->text('about_feature_image')->nullable();
$table->text('home_about_top_image')->nullable();
$table->text('home_about_bottom_image')->nullable();
$table->text('differentiation_title')->nullable();
$table->text('differentiation_subtitle')->nullable();
$table->text('differentiation_description')->nullable();
$table->text('about_youtube_video_code')->nullable();
$table->text('mission_title')->nullable();
$table->text('mission_icon')->nullable();
$table->text('vision_title')->nullable();
$table->text('vision_icon')->nullable();
$table->text('mission_details')->nullable();
$table->text('vision_details')->nullable();
$table->text('blog_heading')->nullable();
$table->text('blog_title')->nullable();
$table->text('blog_subtitle')->nullable();
$table->text('blog_description')->nullable();
$table->text('testimonial_heading')->nullable();
$table->text('testimonial_title')->nullable();
$table->text('testimonial_subtitle')->nullable();
$table->text('testimonial_description')->nullable();
$table->text('project_heading')->nullable();
$table->text('project_title')->nullable();
$table->text('project_subtitle')->nullable();
$table->text('project_description')->nullable();
$table->text('contact_heading')->nullable();
$table->text('contact_title')->nullable();
$table->text('contact_subtitle')->nullable();
$table->text('contact_description')->nullable();
$table->text('address_title')->nullable();
$table->text('phone_title')->nullable();
$table->text('email_title')->nullable();
$table->text('first_office_location')->nullable();
$table->text('first_office_phone')->nullable();
$table->text('first_office_email')->nullable();
$table->text('second_office_location')->nullable();
$table->text('second_office_phone')->nullable();
$table->text('second_office_email')->nullable();
$table->text('facebook_link')->nullable();
$table->text('twitter_link')->nullable();
$table->text('youtube_link')->nullable();
$table->text('instagram_link')->nullable();
$table->text('linkedin_link')->nullable();
$table->text('whatsapp_link')->nullable();
$table->text('terms_heading')->nullable();
$table->text('terms_title')->nullable();
$table->text('terms_subtitle')->nullable();
$table->text('terms_description')->nullable();
$table->text('team_heading')->nullable();
$table->text('team_title')->nullable();
$table->text('team_subtitle')->nullable();
$table->text('team_description')->nullable();
$table->text('faq_heading')->nullable();
$table->text('faq_title')->nullable();
$table->text('faq_subtitle')->nullable();
$table->text('faq_description')->nullable();
$table->text('faq_photo')->nullable();
$table->text('privacy_heading')->nullable();
$table->text('privacy_title')->nullable();
$table->text('privacy_subtitle')->nullable();
$table->text('privacy_description')->nullable();
$table->text('disclaimer_heading')->nullable();
$table->text('disclaimer_title')->nullable();
$table->text('disclaimer_subtitle')->nullable();
$table->text('disclaimer_description')->nullable();
$table->text('service_heading')->nullable();
$table->text('service_title')->nullable();
$table->text('service_subtitle')->nullable();
$table->text('service_description')->nullable();
$table->text('client_heading')->nullable();
$table->text('client_title')->nullable();
$table->text('client_subtitle')->nullable();
$table->text('client_description')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('pages');
}
};