lavori sulla parte dei progetti.

This commit is contained in:
2023-05-09 21:11:23 +02:00
parent 5fed6fdf16
commit 10d5766975
6 changed files with 62 additions and 18 deletions

View File

@@ -16,6 +16,12 @@ class CreateRigaProgettosTable extends Migration
Schema::create('riga_progettos', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->date('data');
$table->longText('descrizione');
$table->decimal('prezzo',10,2)->nullable();
$table->decimal('ore',10,2)->nullable();
$table->unsignedBigInteger('fk_id_progetto');
$table->foreign('fk_id_progetto')->references('id')->on('progettis');
});
}