- Corretti errori di foreign key nelle migrazioni - Rimosso userSetting() non definito e aggiunto helpers.php - Aggiornati modelli PianoRateizzazione e Rata con relazioni corrette - Aggiornato DATA_ARCHITECTURE.md con nuovi modelli per ripartizione spese - Corrette dipendenze tra tabelle nelle migrazioni
28 lines
627 B
PHP
28 lines
627 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
return new class extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*/
|
|
public function up(): void
|
|
{
|
|
Schema::dropIfExists('rate');
|
|
Schema::dropIfExists('piano_rateizzazione');
|
|
Schema::dropIfExists('dettaglio_ripartizione_spese');
|
|
Schema::dropIfExists('ripartizione_spese');
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*/
|
|
public function down(): void
|
|
{
|
|
// Le tabelle verranno ricreate dalle migrazioni successive
|
|
}
|
|
};
|