<?php

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

class CreateBannersTable extends Migration
{
    


    public function up()
    {
        Schema::create('banners', function (Blueprint $table) {
            $table->increments('id');
            $table->string('title')->unique();
            $table->string('subtitle');
            $table->string('photo');
            $table->timestamps();
        });
    }

   


   
    public function down()
    {
        Schema::dropIfExists('banners');
    }
}
