init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTransportePacienteJornada extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('transporte_paciente_jornada', function (Blueprint $table) {
$table->id();
/**
* Informações da jornada
*/
$table->dateTime('data_inicial');
$table->dateTime('data_final');
/**
* FK's
*/
$table->foreignId('veiculo_id')->constrained('transporte_paciente_veiculo');
$table->foreignId('geral_dia_semana_id')->constrained('geral_dia_semana');
MigrationUtil::addCommonFields($table);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('transporte_paciente_jornada');
}
}