/home/brandsfa/annurbd.com/database/migrations/2023_07_08_210747_create_most_demandeds_table.php
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateMostDemandedsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('most_demandeds', function (Blueprint $table) {
            $table->id();
            $table->string('banner');
            $table->foreignId('product_id');
            $table->tinyInteger('status')->default('0');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('most_demandeds');
    }
}