increments('id'); $table->integer('lead_id'); $table->integer('user_id'); $table->string('subject'); $table->longText('message'); $table->string('hash_id')->nullable(); $table->string('attachment_url')->nullable(); $table->tinyInteger('is_attachment')->default(0); $table->tinyInteger('replied')->default(0); $table->timestamp('replied_at')->nullable(); $table->longText('replied_message')->nullable(); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('project_leads_emails'); } }