File: /home/jubaroyal/public_html/database/migrations/2023_05_08_090858_create_services_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('services', function (Blueprint $table) {
$table->id();
$table->text('name')->nullable();
$table->text('slug')->nullable();
$table->text('photo')->nullable();
$table->text('featured_photo')->nullable();
$table->text('video_bg')->nullable();
$table->text('service_header_photo')->nullable();
$table->text('title')->nullable();
$table->text('icon_class')->nullable();
$table->text('main_description')->nullable();
$table->text('functionality_title')->nullable();
$table->text('functionality_description')->nullable();
$table->text('video_code')->nullable();
$table->text('video_status')->nullable();
$table->integer('total_views')->nullable();
$table->string('status');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('services');
}
};