BUB-7 Automobili: Creato modello Operazione e Rifornimento, su controller gestione del rifornimento e creazione delle migrations per Manutenzione Revisione e Accessori

This commit is contained in:
2023-03-30 13:35:23 +02:00
parent 2be78bfcde
commit 9fa9b6681c
14 changed files with 269 additions and 4 deletions

View File

@@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateManutenzionesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('manutenziones', function (Blueprint $table) {
$table->id();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('manutenziones');
}
}