notificaciones migracion y maquetado y modelo
This commit is contained in:
@@ -15,12 +15,12 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('pendientes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('historial_id')->nullable();;
|
||||
$table->unsignedBigInteger('servicio_id')->nullable();;
|
||||
$table->unsignedBigInteger('historial_id')->nullable();
|
||||
$table->unsignedBigInteger('servicio_id')->nullable();
|
||||
$table->string('cantidad')->nullable();
|
||||
$table->string('estado')->nullable();
|
||||
$table->foreign('historial_id')->references('id')->on('historiales')->onDelete('cascade');
|
||||
$table->foreign('servicio_id')->references('id')->on('servicios')->onUpdate('cascade');;
|
||||
$table->foreign('servicio_id')->references('id')->on('servicios')->onUpdate('cascade');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user