id(); $table->timestamps(); $table->string('numero', 100)->nullable(); $table->string('nome', 100); $table->date('datainizio'); $table->date('datatermine'); $table->string('fornitore', 100)->default('text'); $table->string('tipo', 100)->default('utenze'); $table->decimal('importo', 5, 2); $table->date('scadenzapagamento'); $table->string('stato', 100)->default('attivo'); $table->longText('note')->nullable(); $table->string('filename',255)->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('contrattis'); } }