File: /var/www/html/eva.sumar.com.py/database/migrations/2021_08_19_110401_create_grupos_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateGruposTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('grupos', function (Blueprint $table) {
$table->id();
$table->string('grupo');
$table->longText('informacion')->nullable();
$table->boolean('estado')->default(1);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('grupos');
}
}