Aggiunto mappatura e prototipo filtro
This commit is contained in:
@@ -20,12 +20,14 @@ class CreateMovimentisTable extends Migration
|
||||
$table->unsignedBigInteger('mov_fk_categoria');
|
||||
$table->foreign('mov_fk_categoria')->references('id')->on('categories');
|
||||
$table->longText('mov_descrizione');
|
||||
$table->decimal('mov_importo',8,2);
|
||||
$table->decimal('mov_importo_dare',8,2);
|
||||
$table->decimal('mov_importo_avere',8,2);
|
||||
$table->unsignedBigInteger('mov_inserito_da');
|
||||
$table->foreign('mov_inserito_da')->references('id')->on('users');
|
||||
$table->unsignedBigInteger('mov_fk_tags');
|
||||
$table->foreign('mov_fk_tags')->references('id')->on('tags');
|
||||
$table->foreignId('conto_id')->constrained('contos');
|
||||
$table->foreignId('conto_id_da')->constrained('contos')->nullable();
|
||||
$table->foreignId('conto_id_a')->constrained('contos')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user