log general

This commit is contained in:
Felipe
2023-10-07 17:31:35 -05:00
parent 3d3a9cca5e
commit 41605dd83f
12 changed files with 174 additions and 63 deletions
@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('log_general', function (Blueprint $table) {
$table->id();
$table->foreignId('user_id')->constrained();
$table->text('detalle');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('log_general');
}
};