id()->autoIncrement(); $table->bigInteger('template_id')->default(0)->index(); $table->string('subject',255)->nullable(); $table->string('to',255)->nullable(); $table->string('cc',255)->nullable(); $table->bigInteger('customer_id')->default(0)->index(); $table->text('message')->nullable(); $table->tinyInteger('status')->default(1); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('mail'); } };