varie modifiche nella gestione affitti
This commit is contained in:
@@ -14,7 +14,9 @@ return new class extends Migration
|
||||
Schema::create('immobilis', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->timestamps();
|
||||
$table->string('nome')->unique();
|
||||
$table->string('indirizzo')->nullable();
|
||||
$table->string('civico')->nullable();
|
||||
$table->string('citta')->nullable();
|
||||
$table->string('cap')->nullable();
|
||||
$table->string('provincia')->nullable();
|
||||
@@ -46,6 +48,11 @@ return new class extends Migration
|
||||
$table->string('note')->nullable();
|
||||
$table->string('fibra-ottica')->nullable();
|
||||
$table->string('internet')->nullable();
|
||||
$table->string('catasto_n')->nullable();
|
||||
$table->string('cat_foglio')->nullable();
|
||||
$table->string('cat_particella')->nullable();
|
||||
$table->string('cat_sub')->nullable();
|
||||
$table->string('cat_cat')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,9 @@ return new class extends Migration
|
||||
Schema::create('tipo_contrattos', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->timestamps();
|
||||
$table->string('nome')->nullable();
|
||||
$table->string('descrizione')->nullable();
|
||||
$table->longText('template')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,12 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
//
|
||||
Schema::create('cotratto_inquilino', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->timestamps();
|
||||
$table->foreignId('contratto_id');
|
||||
$table->foreignId('inquilino_id');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -20,5 +26,6 @@ return new class extends Migration
|
||||
public function down(): void
|
||||
{
|
||||
//
|
||||
Schema::dropIfExists('cotratto_inquilino');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user