Agregando calculo de fondo
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user