Commit iniziale

This commit is contained in:
2025-08-05 14:10:01 +02:00
commit 097b7e922d
505 changed files with 227792 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAnagraficasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('anagraficas', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->string('ang_cognome');
$table->string('ang_nome');
$table->string('ang_ragioneSociale',255)->nullable();
$table->string('ang_codiceFiscale',255)->nullable();
$table->string('ang_partitaIva',255)->nullable();
$table->longText('ang_indirizzo')->nullable();
$table->string('ang_CAP',10)->nullable();
$table->string('ang_Citta',255)->nullable();
$table->string('ang_Provincia',255)->nullable();
$table->string('ang_telefono',45);
$table->longText('ang_note')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('anagraficas');
}
}