File: /var/www/api.ayokah.co.uk/database/migrations/2024_09_07_105425_create_shipping_fees_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('shipping_fees', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('price');
$table->string('estimated_delivery_days');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('shipping_fees');
}
};