Agregando calculo de fondo

This commit is contained in:
2025-01-12 13:00:21 -03:00
parent e3fb7259b9
commit 7bb61017de
10 changed files with 204 additions and 37 deletions

View File

@@ -4,8 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
return new class extends Migration {
/**
* Run the migrations.
*/
@@ -23,7 +22,7 @@ return new class extends Migration
Schema::create('calculo_fondos', function (Blueprint $table) {
$table->ulid('id')->primary();
$table->bigInteger('valor');
$table->text('descripcion');
$table->text('descripcion')->nullable();
$table->foreignUlid('turno_id')->constrained('turnos')->cascadeOnDelete();
$table->timestamps();
});