File: /var/www/console.fixgini.com/database/migrations/2024_07_15_044211_create_testimonies_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('testimonies', function (Blueprint $table) {
$table->id();
$table->string('company_name');
$table->string('company_role');
$table->string('name');
$table->string('message');
$table->string('photo_url');
$table->string('photo_public_id');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('testimonies');
}
};