HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.1.1k
System: Linux server.eshhar.net 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
User: xdas (1048)
PHP: 7.4.33
Disabled: mail,sendmail
Upload Files
File: /home/xdas/public_html/oldsite/database/migrations/2014_04_21_153322_create_ads_table.php
<?php

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

class CreateAdsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('ads', function (Blueprint $table) {
            $table->increments('id')->nullable();
            $table->string('img1')->nullable();
            $table->string('link1')->nullable();
            $table->text('description1')->nullable();
            $table->enum('status1', ['0', '1'])->default('1');
            // $table->integer('order')->nullable();
            $table->string('img2')->nullable();
            $table->string('link2')->nullable();
            $table->text('description2')->nullable();
            $table->enum('status2', ['0', '1'])->default('1');

            $table->string('img3')->nullable();
            $table->string('link3')->nullable();
            $table->text('description3')->nullable();
            $table->enum('status3', ['0', '1'])->default('1');

            $table->string('img4')->nullable();
            $table->string('link4')->nullable();
            $table->text('description4')->nullable();
            $table->enum('status4', ['0', '1'])->default('1');

            $table->string('img5')->nullable();
            $table->string('link5')->nullable();
            $table->text('description5')->nullable();
            $table->enum('status5', ['0', '1'])->default('1');

            $table->timestamps();
        });
    }

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