File: /home/jubaroyal/public_html/database/migrations/2023_04_19_090635_create_teams_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('teams', function (Blueprint $table) {
$table->id();
$table->text('name')->nullable();
$table->text('slug')->nullable();
$table->text('title')->nullable();
$table->text('experience')->nullable();
$table->text('email')->nullable();
$table->text('phone_number')->nullable();
$table->text('facebook_link')->nullable();
$table->text('twitter_link')->nullable();
$table->text('instagram_link')->nullable();
$table->text('youtube_link')->nullable();
$table->text('linkedin_link')->nullable();
$table->text('description')->nullable();
$table->text('personal_experience')->nullable();
$table->string('photo')->nullable();
$table->string('status')->default('Unpublished');
$table->softDeletes();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('teams');
}
};