Sindbad~EG File Manager
<?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