id(); $table->timestamps(); $table->unsignedBigInteger('cnt_fk_anagraficaId'); $table->foreign('cnt_fk_anagraficaId')->references('id')->on('anagraficas')->onDelete('cascade'); $table->integer('cnt_tipo'); $table->longText('cnt_valore'); $table->longText('cnt_note'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('contattos'); } }