diff --git a/db/migrations/20230606151521_add_index_to_sms_timestamps.php b/db/migrations/20230606151521_add_index_to_sms_timestamps.php new file mode 100644 index 0000000..53228de --- /dev/null +++ b/db/migrations/20230606151521_add_index_to_sms_timestamps.php @@ -0,0 +1,24 @@ +table('sended'); + $table->addIndex('at'); + $table->update(); + + $table = $this->table('received'); + $table->addIndex('at'); + $table->update(); + + $table = $this->table('scheduled'); + $table->addIndex('at'); + $table->update(); + } +}