increments('id'); $table->string('receiver', 32); $table->date('sent_date'); $table->string('linkedid'); $table->unsignedInteger('sms_id')->nullable(); $table->string('status')->default('pending'); $table->timestamps(); $table->unique(['receiver', 'sent_date'], 'missed_call_sms_receiver_day_unique'); }); } public function down() { Schema::dropIfExists('missed_call_sms_logs'); } }