Sindbad~EG File Manager

Current Path : /var/www/html/xfacil.desafio.com.py/database/migrations/
Upload File :
Current File : /var/www/html/xfacil.desafio.com.py/database/migrations/2021_02_24_154229_create_equipos_table.php

<?php

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

class CreateEquiposTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('equipos', function (Blueprint $table) {
            $table->id();

            $table->string('nombre');
            $table->string('foto', 300)->nullable();
            $table->integer('puntos')->default(0);
            $table->string('nivel');
            $table->integer('puntos_extras')->nullable();
            $table->boolean('estado')->default(1);

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

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

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists